bug fixes for headroom

This commit is contained in:
vitorsemeano 2019-02-27 23:26:28 +00:00
parent 4a5fc817fb
commit a03502646c
4 changed files with 56 additions and 60 deletions

View file

@ -108,8 +108,7 @@ define(['scroller', 'dom', 'layoutManager', 'inputManager', 'focusManager', 'bro
var headroom = new Headroom([], {
scroller: elem
});
// initialise
headroom.init();
headroom.add(document.querySelector('.skinHeader'));
elem.headroom = headroom;
});