diff options
-rw-r--r-- | src/usr/local/www/jquery/pfSenseHelpers.js | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/usr/local/www/jquery/pfSenseHelpers.js b/src/usr/local/www/jquery/pfSenseHelpers.js index 5257773..d21206d 100644 --- a/src/usr/local/www/jquery/pfSenseHelpers.js +++ b/src/usr/local/www/jquery/pfSenseHelpers.js @@ -390,15 +390,7 @@ $('tbody').each(function(){ $('tbody:empty').html("<tr><td></td></tr>"); -// Add body padding equivalent to the height of the top menu -function padMenu() { - if(! $('#topmenu').hasClass('navbar-static-top')) { - $('body').animate({ paddingTop: $('#topmenu').height()}, 0); - } -} - -$( window ).resize(function() { - padMenu(); +//Trick top navbar drowdowns to work on hover +$('.dropdown').hover(function(){ + $('.dropdown-toggle', this).trigger('click'); }); - -padMenu();
\ No newline at end of file |