mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2025-01-29 13:55:08 +00:00
oops
This commit is contained in:
parent
fbd48ce0bb
commit
9b593c6afe
@ -522,15 +522,11 @@
|
||||
element[attribute] = isChecked;
|
||||
}
|
||||
|
||||
if (element.class === "SELECT") {
|
||||
if (element.nodeName === "SELECT") {
|
||||
const selectedItem = options.find(option => option[attribute] === localStorage.getItem(key));
|
||||
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