From 65bb7f32e99920cce825e3b1b775d6d031ec53f9 Mon Sep 17 00:00:00 2001 From: j433866 Date: Wed, 8 May 2019 14:58:09 +0100 Subject: [PATCH] Fix refreshTabs not always hiding the tab bar --- src/web/InputWaiter.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/InputWaiter.mjs b/src/web/InputWaiter.mjs index e17192c6..14ac0e77 100644 --- a/src/web/InputWaiter.mjs +++ b/src/web/InputWaiter.mjs @@ -847,7 +847,7 @@ class InputWaiter { tabsList.appendChild(this.createTabElement(nums[i], active)); } - if (nums.length > 0) { + if (nums.length > 1) { tabsList.parentElement.style.display = "block"; document.getElementById("input-wrapper").style.height = "calc(100% - var(--tab-height) - var(--title-height))";