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
+2 -1
View File
@@ -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);
});
}
-1
View File
@@ -345,7 +345,6 @@ var AppInfo = {};
function createWindowHeadroom(Headroom) {
var headroom = new Headroom([], {});
headroom.init();
return headroom;
}