Changed selected attribute to HTML5 boolean syntax in SelectBox.js.
Per MDN, HTMLOptionElement.selected is a Boolean attribute.
This commit is contained in:
parent
3c5a586ce9
commit
6137ec2bf2
|
@ -102,7 +102,7 @@
|
|||
select_all: function(id) {
|
||||
const box = document.getElementById(id);
|
||||
for (const option of box.options) {
|
||||
option.selected = 'selected';
|
||||
option.selected = true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue