From cc44be7ef9b386cf40ae5e18ccb0dc810622d31a Mon Sep 17 00:00:00 2001 From: n1474335 Date: Mon, 21 Aug 2017 15:25:35 +0000 Subject: [PATCH] Fixed recipe saving --- src/web/ControlsWaiter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/ControlsWaiter.js b/src/web/ControlsWaiter.js index 03c54136..696c4217 100755 --- a/src/web/ControlsWaiter.js +++ b/src/web/ControlsWaiter.js @@ -257,7 +257,7 @@ ControlsWaiter.prototype.loadClick = function() { */ ControlsWaiter.prototype.saveButtonClick = function() { const recipeName = Utils.escapeHtml(document.getElementById("save-name").value); - const recipeStr = document.getElementById("save-text").value; + const recipeStr = document.querySelector("#save-texts .tab-pane.active textarea").value; if (!recipeName) { this.app.alert("Please enter a recipe name", "danger", 2000);