js: Remove support for creating the status bar in JavaScript

Now we depend on its being in the HTML.
This commit is contained in:
Ben Harris
2022-11-20 19:04:53 +00:00
parent e8cdac58e5
commit b967a3ea86
2 changed files with 2 additions and 21 deletions

View File

@ -513,22 +513,6 @@ mergeInto(LibraryManager.library, {
x, y, w, h);
},
/*
* void js_canvas_make_statusbar(void);
*
* Cause a status bar to exist. Called at setup time if the puzzle
* back end turns out to want one.
*/
js_canvas_make_statusbar: function() {
if (statusbar === null) {
var statusholder = document.getElementById("statusbarholder");
statusbar = document.createElement("div");
statusbar.id = "statusbar";
statusbar.appendChild(document.createTextNode(" "));
statusholder.appendChild(statusbar);
}
},
/*
* void js_canvas_remove_statusbar(void);
*