mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
change updateVisibility func name to setElementVisbility
This commit is contained in:
parent
5d46d763e1
commit
5b39d0fe65
3 changed files with 9 additions and 9 deletions
|
@ -44,7 +44,7 @@ class OperationsWaiter {
|
|||
this.openOperationsDropdown();
|
||||
|
||||
if (e.target.value.length !== 0) {
|
||||
this.app.updateVisibility(searchResults, true);
|
||||
this.app.setElementVisibility(searchResults, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -328,8 +328,8 @@ class OperationsWaiter {
|
|||
const closeOperationsDropdown = document.getElementById("close-operations-dropdown");
|
||||
const categories = document.getElementById("categories");
|
||||
|
||||
this.app.updateVisibility(categories, true);
|
||||
this.app.updateVisibility(closeOperationsDropdown, true);
|
||||
this.app.setElementVisibility(categories, true);
|
||||
this.app.setElementVisibility(closeOperationsDropdown, true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -345,9 +345,9 @@ class OperationsWaiter {
|
|||
search.value = "";
|
||||
}
|
||||
|
||||
this.app.updateVisibility(document.getElementById("categories"), false);
|
||||
this.app.updateVisibility(document.getElementById("search-results"), false);
|
||||
this.app.updateVisibility(document.getElementById("close-operations-dropdown"), false);
|
||||
this.app.setElementVisibility(document.getElementById("categories"), false);
|
||||
this.app.setElementVisibility(document.getElementById("search-results"), false);
|
||||
this.app.setElementVisibility(document.getElementById("close-operations-dropdown"), false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue