bug fixes for headroom
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -345,7 +345,6 @@ var AppInfo = {};
|
||||
|
||||
function createWindowHeadroom(Headroom) {
|
||||
var headroom = new Headroom([], {});
|
||||
headroom.init();
|
||||
return headroom;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user