2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00:00

Fix tab info not being updated in refreshTabs()

This commit is contained in:
j433866
2019-03-29 14:51:11 +00:00
parent f6ab82faaf
commit eb5809fd17

View File

@@ -841,6 +841,7 @@ class InputWaiter {
for (let i = 0; i < newInputs.length; i++) {
tabsList.appendChild(this.createTabElement(newInputs[i]));
this.displayTabInfo(newInputs[i]);
}
if (newInputs.length > 1) {
@@ -859,6 +860,7 @@ class InputWaiter {
if (newInputs.length === 0) {
activeTab = this.addTab();
this.displayTabInfo(activeTab);
}
this.changeTab(activeTab);