Просмотр исходного кода

Fixed the options units button not working

tags/v1.0.0
Fen Dweller 7 лет назад
Родитель
Сommit
d6855e4494
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      game.js

+ 2
- 0
game.js Просмотреть файл

@@ -5144,6 +5144,8 @@ window.addEventListener('load', function(event) {
document.getElementById("button-reset-custom").addEventListener("click", resetSettings); document.getElementById("button-reset-custom").addEventListener("click", resetSettings);
document.getElementById("button-load-autosave").addEventListener("click", loadAutosave); 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 // note to self - the anonymous function is so that
// loadSettings doesn't receive the mouseEvent! // loadSettings doesn't receive the mouseEvent!




Загрузка…
Отмена
Сохранить