Skip to content

Commit

Permalink
less jumpy menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 13, 2014
1 parent 5e47444 commit c10c550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/templates/mojobar.html.ep
Expand Up @@ -88,7 +88,7 @@
mojobar.removeClass('animated');
mojobar.css('position', 'absolute').css('top', start + 'px');
}
if (fixed && (Math.abs(lastScrollTop - st) > 50)) {
else if (fixed && (Math.abs(lastScrollTop - st) > 50)) {
if (!mojobar.hasClass('animated')) {
mojobar.addClass('animated');
}
Expand Down

0 comments on commit c10c550

Please sign in to comment.