Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2010-08-26 18:24:38 +0400
committermattpiwik <matthieu.aubry@gmail.com>2010-08-26 18:24:38 +0400
commitff68f3619315092a5612ea52416d7e50d49e270b (patch)
tree9b4b42d04ade61618ba43ae6275b27f25078bc2c /libs/jquery/superfish_modified.js
parent767b3b15989d6ed2d8e65f6e766926dfc2387018 (diff)
Fixes #1634 (found issue using MS IE debugger)
git-svn-id: http://dev.piwik.org/svn/trunk@2984 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/jquery/superfish_modified.js')
-rw-r--r--libs/jquery/superfish_modified.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/jquery/superfish_modified.js b/libs/jquery/superfish_modified.js
index d51cce4934..b2671b60df 100644
--- a/libs/jquery/superfish_modified.js
+++ b/libs/jquery/superfish_modified.js
@@ -134,8 +134,11 @@
showSuperfishUl : function(){
var o = sf.op,
sh = sf.c.shadowClass+'-off',
- $ul = this.addClass(o.hoverClass)
- .find('>ul:hidden').css('visibility','visible');
+ $ul = this.addClass(o.hoverClass).find('>ul:hidden');
+ if($ul){
+ $ul.css('visibility','visible');
+ }
+
sf.IE7fix.call($ul);
o.onBeforeShow.call($ul);
$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });