mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 02:21:53 +08:00
partial streamer events
This commit is contained in:
@@ -309,6 +309,14 @@ export var tools = new function() {
|
||||
self.selector.addComment(el, "\u2500".repeat(repeat));
|
||||
}
|
||||
},
|
||||
"hasValue": function(el, value) {
|
||||
for (let el_op of el.options) {
|
||||
if (el_op.value === value) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
"setValues": function(el, values, empty_title=null) {
|
||||
if (values.constructor == Object) {
|
||||
|
||||
Reference in New Issue
Block a user