client-app/app/controllers/index.js in logster-2.5.1 vs client-app/app/controllers/index.js in logster-2.6.0
- old
+ new
@@ -16,11 +16,13 @@
showSettings: computed(function() {
return Preload.get("patterns_enabled");
}),
resizePanels(amount) {
- Em.$("#bottom-panel").css("height", amount - 13);
- Em.$("#top-panel").css("bottom", amount + 12);
+ const bottomPanel = document.getElementById("bottom-panel");
+ const topPanel = document.getElementById("top-panel");
+ bottomPanel.style.height = `${amount - 13}px`;
+ topPanel.style.bottom = `${amount + 12}px`;
},
actionsInMenu: computed(function() {
return this.site.isMobile;
}),