diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-19 00:40:50 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-19 00:40:50 +0300 |
commit | 49ee81ca12e46a703e999632efcb9f2a5627c930 (patch) | |
tree | 37e617afc9a593820f9753993ba3324b90f998f4 /app/assets/javascripts/layout_nav.js | |
parent | b4b5ad39932b9f56a16e1d0a8c96f75b32e934fc (diff) |
Fix eslint
Diffstat (limited to 'app/assets/javascripts/layout_nav.js')
-rw-r--r-- | app/assets/javascripts/layout_nav.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/layout_nav.js b/app/assets/javascripts/layout_nav.js index e8f59f30035..1a24c7a6433 100644 --- a/app/assets/javascripts/layout_nav.js +++ b/app/assets/javascripts/layout_nav.js @@ -54,7 +54,8 @@ import NewNavSidebar from './new_sidebar'; } $(() => { - new NewNavSidebar(); + var newNavSidebar = new NewNavSidebar(); + newNavSidebar.bindEvents(); $(window).on('scroll', _.throttle(applyScrollNavClass, 100)); }); }).call(window); |