Fix refreshTabs not always hiding the tab bar

This commit is contained in:
j433866 2019-05-08 14:58:09 +01:00
parent 3b8c365f7e
commit 65bb7f32e9

View File

@ -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))";