Update RecipeWaiter.mjs

This commit is contained in:
Cal Hagner 2019-10-19 00:10:04 +00:00 committed by GitHub
parent 102f1a1775
commit efcdef9543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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