mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] add
This commit is contained in:
parent
f1257ea356
commit
5362f9fda4
9 changed files with 48 additions and 23 deletions
|
@ -325,7 +325,7 @@ class OperationsWaiter {
|
|||
* Open operations dropdown
|
||||
*/
|
||||
openOperationsDropdown(){
|
||||
// 'close' ( dropdown ) icon in Operations component mobile UI
|
||||
// the 'close' ( dropdown ) icon in Operations component mobile UI
|
||||
const closeOperationsDropdown = document.getElementById("close-operations-dropdown");
|
||||
const categories = document.getElementById("categories");
|
||||
|
||||
|
@ -373,7 +373,15 @@ class OperationsWaiter {
|
|||
*/
|
||||
resetFavouritesClick() {
|
||||
this.app.resetFavourites();
|
||||
this.manager.recipe.updateSelectedOperations();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a favourite op, for mobile UI only
|
||||
*
|
||||
* @param {Event} e
|
||||
*/
|
||||
onIconFavouriteClick(e){
|
||||
this.app.addFavourite(e.target.getAttribute("title"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue