]> granicus.if.org Git - transmission/commitdiff
(trunk web) add minor SFX when showing/hiding the stats and prefs dialogs
authorJordan Lee <jordan@transmissionbt.com>
Wed, 31 Aug 2011 05:59:24 +0000 (05:59 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 31 Aug 2011 05:59:24 +0000 (05:59 +0000)
web/javascript/transmission.js

index 7a917d714b0d1af8cadbb6eb824316e4dc534d03..e82329706828626544b7f30edcf387e115974b18 100644 (file)
@@ -752,7 +752,7 @@ Transmission.prototype =
        showPrefsDialog: function() {
                this.checkPort(true);
                $('body').addClass('prefs_showing');
-               $('#prefs_container').show();
+               $('#prefs_container').fadeIn();
                this.hideMobileAddressbar();
                this.updateButtonStates();
                this.togglePeriodicSessionRefresh(false);
@@ -763,7 +763,7 @@ Transmission.prototype =
                $('body.prefs_showing').removeClass('prefs_showing');
                if (isMobileDevice)
                        this.hideMobileAddressbar();
-               $('#prefs_container').hide();
+               $('#prefs_container').fadeOut();
                this.updateButtonStates();
                this.togglePeriodicSessionRefresh(true);
        },
@@ -842,7 +842,7 @@ Transmission.prototype =
        showStatsDialog: function() {
                this.loadDaemonStats();
                $('body').addClass('stats_showing');
-               $('#stats_container').show();
+               $('#stats_container').fadeIn();
                this.hideMobileAddressbar();
                this.updateButtonStates();
                this.togglePeriodicStatsRefresh(true);
@@ -852,7 +852,7 @@ Transmission.prototype =
                $('body.stats_showing').removeClass('stats_showing');
                if (isMobileDevice)
                        this.hideMobileAddressbar();
-               $('#stats_container').hide();
+               $('#stats_container').fadeOut();
                this.updateButtonStates();
                this.togglePeriodicStatsRefresh(false);
        },