This commit is contained in:
Danil Boldyrev 2023-08-23 03:35:09 +03:00
parent 8fd1558179
commit 6a87e35bef
1 changed files with 0 additions and 1 deletions

View File

@ -677,7 +677,6 @@ onUiLoaded(async() => {
targetElement.isExpanded = false; targetElement.isExpanded = false;
function autoExpand() { function autoExpand() {
const canvas = document.querySelector(`${elemId} canvas[key="interface"]`); const canvas = document.querySelector(`${elemId} canvas[key="interface"]`);
if (canvas) { if (canvas) {
if (hasHorizontalScrollbar(targetElement) && targetElement.isExpanded === false) { if (hasHorizontalScrollbar(targetElement) && targetElement.isExpanded === false) {
targetElement.style.visibility = "hidden"; targetElement.style.visibility = "hidden";