Edited schoolkiezer if statement to reflect correct value.

master
Martijn Oosterhuis 4 years ago
parent 9895aeef32
commit 9e98c13d20

@ -10,7 +10,7 @@ function login() {
if (d("scholenkiezer_value")) { if (d("scholenkiezer_value")) {
await waitForSel("#scholenkiezer_value"); await waitForSel("#scholenkiezer_value");
if (d("scholenkiezer_value") && result.number) { if (d("scholenkiezer_value") && result.school) {
d("scholenkiezer_value").value = result.school; d("scholenkiezer_value").value = result.school;
d("scholenkiezer_value").dispatchEvent(new Event("input")); d("scholenkiezer_value").dispatchEvent(new Event("input"));
}; };

Loading…
Cancel
Save