Make the dynamic world info scan toggleable

This commit is contained in:
Gnome Ann
2021-11-03 12:18:48 -04:00
parent de3664e73c
commit 0a91ea27b3
4 changed files with 29 additions and 2 deletions

View File

@ -1592,6 +1592,9 @@ $(document).ready(function(){
$("#setadventure").prop('checked', msg.data).change();
// Update adventure state
setadventure(msg.data);
} else if(msg.cmd == "updatedynamicscan") {
// Update toggle state
$("#setdynamicscan").prop('checked', msg.data).change();
} else if(msg.cmd == "runs_remotely") {
hide([button_loadfrfile, button_savetofile, button_import, button_importwi]);
}