mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed el variable
This commit is contained in:
parent
a32ce23fa8
commit
75e9b673bc
@ -276,6 +276,7 @@ export function Msd() {
|
||||
var __applyStateImageSelector = function() {
|
||||
let s = __state;
|
||||
let online = (s && s.online);
|
||||
let el = $("msd-image-selector");
|
||||
|
||||
if (!online) {
|
||||
el.options.length = 1; // Cleanup
|
||||
@ -285,8 +286,6 @@ export function Msd() {
|
||||
return;
|
||||
}
|
||||
|
||||
let el = $("msd-image-selector");
|
||||
|
||||
if (el.options.length === 0) {
|
||||
el.options[0] = new Option("~ Not selected ~", "", false, false);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user