|
|
@@ -327,7 +327,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
});
|
|
|
this.doc.querySelectorAll("select").forEach(select => {
|
|
|
select.querySelectorAll("option").forEach(option => {
|
|
|
- const selected = option.getAttribute(DOM.inputValueAttributeName(this.options.sessionId)) !== undefined;
|
|
|
+ const selected = option.getAttribute(DOM.inputValueAttributeName(this.options.sessionId)) != null;
|
|
|
if (selected) {
|
|
|
option.setAttribute("selected", "");
|
|
|
}
|