mirror of
https://github.com/gchq/CyberChef
synced 2026-01-08 19:43:18 +00:00
Option selects now default to the first option if not previously set
This commit is contained in:
@@ -47,6 +47,8 @@ OptionsWaiter.prototype.load = function(options) {
|
||||
if (val) {
|
||||
selects[i].value = val;
|
||||
selects[i].dispatchEvent(new CustomEvent("change", {bubbles: true}));
|
||||
} else {
|
||||
selects[i].selectedIndex = 0;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user