Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function() {
- UIkit.scroll.options.defaults.offset = 90;
- jQuery('.uk-nav a').each(function() {
- if (location.hostname == this.hostname && location.pathname == this.pathname && this.href != '#') {
- UIkit.scroll(this);
- UIkit.util.on(this, 'beforescroll', function() {
- UIkit.modal('.uk-offcanvas-bar').hide();
- });
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement