diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:02:26 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-06-23 07:02:26 +0400 |
commit | 999f46479294713104c962bfe7469e9b6e7a4bbf (patch) | |
tree | a22e349d850bc2f2946a85a3cab373c4b6dc1809 /plugins/CoreHome/templates/menu.js | |
parent | 462d78c290f19dd691d9634bf2b17d2adc4446af (diff) | |
parent | c0b42ff664a0846064df23db232ea774931ab7a3 (diff) |
0.6.3?
Diffstat (limited to 'plugins/CoreHome/templates/menu.js')
-rw-r--r-- | plugins/CoreHome/templates/menu.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/CoreHome/templates/menu.js b/plugins/CoreHome/templates/menu.js index eef1dd5ba4..51139ed6b7 100644 --- a/plugins/CoreHome/templates/menu.js +++ b/plugins/CoreHome/templates/menu.js @@ -10,7 +10,7 @@ menu.prototype = if(urlLoaded == menu.prototype.lastUrlRequested) { $('#content').html( content ).show(); - piwikHelper.hideAjaxLoading(); + $('#loadingPiwik').hide(); menu.prototype.lastUrlRequested = null; } }, @@ -47,7 +47,7 @@ menu.prototype = .superfish({ pathClass : 'current', animation : {opacity:'show'}, - delay : 2000 + delay : 1000 }); this.param.superfish.find("li") .click( self.onClickLI ) @@ -130,10 +130,8 @@ menu.prototype = }; $(document).ready( function(){ - if($('.nav').size()) { - piwikMenu = new menu(); - piwikMenu.init(); - piwikMenu.loadFirstSection(); - broadcast.init(); - } + piwikMenu = new menu(); + piwikMenu.init(); + piwikMenu.loadFirstSection(); + broadcast.init(); }); |