Procházet zdrojové kódy

Fixed the options units button not working

tags/v1.0.0
Fen Dweller před 6 roky
rodič
revize
d6855e4494
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. +2
    -0
      game.js

+ 2
- 0
game.js Zobrazit soubor

@@ -5144,6 +5144,8 @@ window.addEventListener('load', function(event) {
document.getElementById("button-reset-custom").addEventListener("click", resetSettings);
document.getElementById("button-load-autosave").addEventListener("click", loadAutosave);

document.getElementById("button-units-options").addEventListener("click", toggle_units_options)

// note to self - the anonymous function is so that
// loadSettings doesn't receive the mouseEvent!



Načítá se…
Zrušit
Uložit