mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] add maximiser icons to recipe, input and output, and handle maximising of targets accordingly. Desktop view remains as normal, where only output can be maximised
This commit is contained in:
parent
093a3c4b77
commit
4c2c934cd4
13 changed files with 164 additions and 51 deletions
|
@ -45,7 +45,7 @@ class OperationsWaiter {
|
|||
this.openOperationsDropdown();
|
||||
|
||||
if ( e.target.value.length !== 0 ){
|
||||
this.app.setVisibility(searchResults, true );
|
||||
this.app.updateVisibility(searchResults, true );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -329,8 +329,8 @@ class OperationsWaiter {
|
|||
const closeOperationsDropdown = document.getElementById("close-operations-dropdown");
|
||||
const categories = document.getElementById("categories");
|
||||
|
||||
this.app.setVisibility(categories, true);
|
||||
this.app.setVisibility(closeOperationsDropdown, true);
|
||||
this.app.updateVisibility(categories, true);
|
||||
this.app.updateVisibility(closeOperationsDropdown, true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -346,9 +346,9 @@ class OperationsWaiter {
|
|||
search.value = '';
|
||||
}
|
||||
|
||||
this.app.setVisibility(document.getElementById( "categories"), false );
|
||||
this.app.setVisibility(document.getElementById( "search-results"), false );
|
||||
this.app.setVisibility(document.getElementById("close-operations-dropdown"), false );
|
||||
this.app.updateVisibility(document.getElementById( "categories"), false );
|
||||
this.app.updateVisibility(document.getElementById( "search-results"), false );
|
||||
this.app.updateVisibility(document.getElementById("close-operations-dropdown"), false );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue