mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-24 05:45:26 +00:00
commit
2d1fa075aa
@ -522,15 +522,11 @@
|
|||||||
element[attribute] = isChecked;
|
element[attribute] = isChecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (element.class === "SELECT") {
|
if (element.nodeName === "SELECT") {
|
||||||
const selectedItem = options.find(option => option[attribute] === localStorage.getItem(key));
|
const selectedItem = options.find(option => option[attribute] === localStorage.getItem(key));
|
||||||
selectedItem.selected = true;
|
selectedItem.selected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (element.id === "shell") {
|
|
||||||
const selectedItem = options.find(option => option[attribute] === localStorage.getItem(key));
|
|
||||||
selectedItem.selected = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user