Browse Source

BUGFIX: Saved recipes can now be deleted again.

n1474335 8 years ago
parent
commit
488ca7167e
4 changed files with 1 additions and 1 deletions
  1. 0 0
      build/prod/cyberchef.htm
  2. 0 0
      build/prod/index.html
  3. 0 0
      build/prod/scripts.js
  4. 1 1
      src/js/views/html/ControlsWaiter.js

File diff suppressed because it is too large
+ 0 - 0
build/prod/cyberchef.htm


File diff suppressed because it is too large
+ 0 - 0
build/prod/index.html


File diff suppressed because it is too large
+ 0 - 0
build/prod/scripts.js


+ 1 - 1
src/js/views/html/ControlsWaiter.js

@@ -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) : [];
         

Some files were not shown because too many files changed in this diff