mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
js: Allow status bar to be present in the HTML
I'm generally in favour of putting HTML in HTML rather the constructing it in JavaScript, and this will allow for simplifying the code eventually. This only changes the JavaScript to make sure that's in people's caches before I change the HTML itself.
This commit is contained in:
@ -443,9 +443,10 @@ function initPuzzle() {
|
||||
['number','number']);
|
||||
timer_callback = Module.cwrap('timer_callback', 'void', ['number']);
|
||||
|
||||
// Save references to the two permalinks.
|
||||
// Save references to the two permalinks and the status bar.
|
||||
permalink_desc = document.getElementById("permalink-desc");
|
||||
permalink_seed = document.getElementById("permalink-seed");
|
||||
statusbar = document.getElementById("statusbar");
|
||||
|
||||
resizable_div = document.getElementById("resizable");
|
||||
if (resizable_div !== null) {
|
||||
|
Reference in New Issue
Block a user