Permalink
Browse files

Merge pull request #241 from thezoggy/menu-fix

Fixed the drop down state being 'stuck' if you were to cancel out of alert
  • Loading branch information...
midgetspy committed Dec 3, 2011
2 parents 343378d + e8103bf commit 3c8df499aa80f34a041f6b76fa0818b2a8e576aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 data/interfaces/default/inc_top.tmpl
@@ -126,11 +126,11 @@ table.tablesorter thead tr .headerSortDown { background-image: url("$sbRoot/imag
\$("#NAV$topmenu").addClass("current");
\$("a.confirm").bind("click",function(e) {
+ \$('#MainMenu.sf-menu').hideSuperfishUl();
e.preventDefault();
var target = \$( this ).attr('href');
if ( confirm("Are you sure you want to " + \$(this).text() + "?") )
location.href = target;
- \$('#MainMenu.sf-menu').hideSuperfishUl();
return false;
});

0 comments on commit 3c8df49

Please sign in to comment.