Added elements

This commit is contained in:
2016-02-22 19:46:34 +08:00
parent 7c925c4332
commit 8e7d83cc11
9 changed files with 208 additions and 152 deletions
+3 -1
View File
@@ -18,7 +18,7 @@ var UI = (function () {
}
$('.scrollable').height(h - offset + 'px');
var types = ['research', 'hr', 'upgrades'];
var types = ['element', 'hr', 'upgrades'];
if ($(window).width() < 992) {
for (var i = 0; i < types.length; i++) {
@@ -65,6 +65,8 @@ var UI = (function () {
detector.init(400);
}
}
detector.bubblr.onResize();
}
$(window).resize(resize);