mirror of
https://github.com/gchq/CyberChef
synced 2025-01-08 10:38:46 +00:00
Fix tab info not being updated in refreshTabs()
This commit is contained in:
parent
f6ab82faaf
commit
eb5809fd17
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue