diff --git a/bundles/org.openhab.ui.basic/web-src/smarthome.js b/bundles/org.openhab.ui.basic/web-src/smarthome.js index bd6463376f..804ddcfda8 100644 --- a/bundles/org.openhab.ui.basic/web-src/smarthome.js +++ b/bundles/org.openhab.ui.basic/web-src/smarthome.js @@ -1403,6 +1403,7 @@ buttons.style.width = (width+1) + "px"; }; + _t.minimizeWidth(); // Wait until after all the icons are loaded before running minimizeWidth() window.addEventListener("load", _t.minimizeWidth); window.addEventListener("resize", _t.minimizeWidth);