Created
June 7, 2020 04:08
-
-
Save wplit/98a2c685a6b21eb99a8d00e7b8926668 to your computer and use it in GitHub Desktop.
close offcanvas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery('body').removeClass('off-canvas-toggled'); // remove the overflow hidden | |
| jQuery('.oxy-off-canvas').removeClass('oxy-off-canvas-toggled'); // close the offcanvas | |
| jQuery(jQuery('.offcanvas-inner').data('trigger-selector')).find('.hamburger').removeClass('is-active'); // if the trigger is burger, close it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment