Actually hide recipe controls

Original commit did not fix display errors, this one should.
This commit is contained in:
Cal Hagner 2019-10-19 00:07:43 +00:00 committed by GitHub
parent 1a906b00e7
commit 102f1a1775
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("i") === "fullscreen") {
if (document.getElementById("maximise-output").getAttribute("data-original-title" === "Restore output pane") {
document.getElementById("controls").style.display = "none";
} else {
// Show recipe controls if they are not already shown