Fix tab bar shadows appearing when they shouldn't

This commit is contained in:
j433866 2019-07-24 14:22:56 +01:00
parent 507c951f28
commit 36abaeb6fb
3 changed files with 18 additions and 10 deletions

View file

@ -988,9 +988,13 @@ class InputWaiter {
this.manager.highlighter.removeHighlights();
getSelection().removeAllRanges();
const tabsList = document.getElementById("input-tabs").children;
for (let i = tabsList.length - 1; i >= 0; i--) {
tabsList.item(i).remove();
const tabsList = document.getElementById("input-tabs");
const tabsListChildren = tabsList.children;
tabsList.classList.remove("tabs-left");
tabsList.classList.remove("tabs-right");
for (let i = tabsListChildren.length - 1; i >= 0; i--) {
tabsListChildren.item(i).remove();
}
this.showLoadingInfo({