mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
[#181] correctly handle checkmarks after favourites updates and resetting, update addSelectedClass to put selected on all operations with target data name ( as sometimes there will be 2 of the same rather than 1, in the case of a favourited operation ). Make updates to pass the op-title around based by the data-name attr instead of innerText
This commit is contained in:
parent
8d693a7d0e
commit
bc93969d4b
5 changed files with 18 additions and 6 deletions
|
@ -46,6 +46,7 @@ class HTMLOperation {
|
|||
* @returns {string}
|
||||
*/
|
||||
toStubHtml(removeIcon) {
|
||||
console.log("toStubHtml ==>",this.name);
|
||||
let html = `<li data-name="${this.name}" class="operation"`;
|
||||
|
||||
if (this.description) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue