Skip to content

Commit

Permalink
Update sass
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomollet committed May 30, 2022
1 parent f2dd6f9 commit 34b0a11
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 224 deletions.
3 changes: 2 additions & 1 deletion js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,8 @@ jQuery(function($) { // DOM is now ready and jQuery's $ alias sandboxed
if (st > lastScrollTop){ // going down
//$('#navigation').addClass('navbar-outofview'); // nico 2017/05/23 testing without this line to check behaviour
} else { // going up
if(!$('body').hasClass('woocommerce-checkout')){ // on woocommerce-checkout does not display navbar
// Disable show on goingup on WooCommerce Checkout and when page content has a form (Gravity Forms or not)
if(!$('body').hasClass('woocommerce-checkout') && $('#content form').length === 0 ){
$('#navigation').removeClass('navbar-outofview');
}
}
Expand Down
2 changes: 1 addition & 1 deletion js/scripts.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 34b0a11

Please sign in to comment.