mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-09 07:43:39 +00:00
bugfix enabling blank passcodes
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ function switchDevice(id) {
|
||||
fields.forEach(field => {
|
||||
let $elem = document.createElement("input");
|
||||
$elem.type = "text";
|
||||
$elem.value = activeDevice.fields[field.key] || field.value;
|
||||
$elem.value = activeDevice.fields[field.key];// || field.value;
|
||||
$elem.name = field.key;
|
||||
$elem.onchange = function(e){
|
||||
activeDevice.fields[field.key] = $elem.value;
|
||||
|
||||
Reference in New Issue
Block a user