Commit 49ee81ca authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix eslint

parent b4b5ad39
......@@ -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);
export default class NewNavSidebar {
constructor() {
this.initDomElements();
this.bindEvents();
}
initDomElements() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment