From efcdef9543583fb32d30166168b047da6b046364 Mon Sep 17 00:00:00 2001 From: Cal Hagner <44558033+Cal-Hagner@users.noreply.github.com> Date: Sat, 19 Oct 2019 00:10:04 +0000 Subject: [PATCH] Update RecipeWaiter.mjs --- src/web/waiters/RecipeWaiter.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/waiters/RecipeWaiter.mjs b/src/web/waiters/RecipeWaiter.mjs index a7e11d70..352486c0 100755 --- a/src/web/waiters/RecipeWaiter.mjs +++ b/src/web/waiters/RecipeWaiter.mjs @@ -629,7 +629,7 @@ class RecipeWaiter { } // Hide recipe controls when output is maximised - if (document.getElementById("maximise-output").getAttribute("data-original-title" === "Restore output pane") { + if (document.getElementById("maximise-output".getAttribute("data-original-title").indexOf("Restore") === 0) { document.getElementById("controls").style.display = "none"; } else { // Show recipe controls if they are not already shown