bug fixes for headroom
This commit is contained in:
parent
4a5fc817fb
commit
a03502646c
4 changed files with 56 additions and 60 deletions
|
@ -724,7 +724,8 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||
}
|
||||
|
||||
function initHeadRoom(elem) {
|
||||
require(["headroom"], function (headroom) {
|
||||
require(["headroom"], function (Headroom) {
|
||||
var headroom = new Headroom([], {});
|
||||
headroom.add(elem);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue