From: Jordan Lee Date: Wed, 31 Aug 2011 05:59:24 +0000 (+0000) Subject: (trunk web) add minor SFX when showing/hiding the stats and prefs dialogs X-Git-Tag: 2.40b1~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a678b304af9df0194e2c9c483d6c31f0504cc14;p=transmission (trunk web) add minor SFX when showing/hiding the stats and prefs dialogs --- diff --git a/web/javascript/transmission.js b/web/javascript/transmission.js index 7a917d714..e82329706 100644 --- a/web/javascript/transmission.js +++ b/web/javascript/transmission.js @@ -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); },