mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
function name change
This commit is contained in:
parent
4ecd2bd32c
commit
b3ad5bb303
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ export class CCategoryLi extends HTMLElement {
|
||||||
a.innerText = this.label;
|
a.innerText = this.label;
|
||||||
|
|
||||||
if (this.label === "Favourites"){
|
if (this.label === "Favourites"){
|
||||||
const editFavouritesButton = this.buildEditFavourites(a);
|
const editFavouritesButton = this.buildEditFavouritesButton(a);
|
||||||
|
|
||||||
a.setAttribute("data-help-title", "Favourite operations");
|
a.setAttribute("data-help-title", "Favourite operations");
|
||||||
a.setAttribute("data-help", `<p>This category displays your favourite operations.</p>
|
a.setAttribute("data-help", `<p>This category displays your favourite operations.</p>
|
||||||
|
@ -137,7 +137,7 @@ export class CCategoryLi extends HTMLElement {
|
||||||
/**
|
/**
|
||||||
* If this category is Favourites, build and return the star icon to the category
|
* If this category is Favourites, build and return the star icon to the category
|
||||||
*/
|
*/
|
||||||
buildEditFavourites() {
|
buildEditFavouritesButton() {
|
||||||
const button = document.createElement("button");
|
const button = document.createElement("button");
|
||||||
const icon = document.createElement("i");
|
const icon = document.createElement("i");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue