Skip to content

Commit

Permalink
fix superfush
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Waye authored and Bradley Waye committed Nov 3, 2023
1 parent f411ea1 commit 9449789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/libraries/drupal-superfish/superfish.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {
if (o.autoArrows) addArrow( $(this).children('a:first-child, span.nolink:first-child') );
})
.not('.'+c.bcClass)
.not('.'+c.bcClass)
.hideSuperfishUl();

var $a = $('a, span.nolink',this);
Expand Down Expand Up @@ -105,7 +105,7 @@
not = (o.retainPath===true) ? o.$path : '';
o.retainPath = false;
var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
.children('ul').addClass('sf-hidden');
.children('ul').addClass('sf-hidden');
o.onHide.call($ul);
return this;
},
Expand Down

0 comments on commit 9449789

Please sign in to comment.