mirror of
https://github.com/gchq/CyberChef
synced 2025-12-22 19:23:40 +00:00
BUGFIX: Saved recipes can now be deleted again.
This commit is contained in:
@@ -293,7 +293,7 @@ ControlsWaiter.prototype.populate_load_recipes_list = function() {
|
||||
* Removes the currently selected recipe from local storage.
|
||||
*/
|
||||
ControlsWaiter.prototype.load_delete_click = function() {
|
||||
var id = document.getElementById("load-name").value,
|
||||
var id = parseInt(document.getElementById("load-name").value, 10),
|
||||
saved_recipes = localStorage.saved_recipes ?
|
||||
JSON.parse(localStorage.saved_recipes) : [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user