Update index.html
parent
935b2b90c0
commit
9a5abfc012
|
@ -356,6 +356,16 @@
|
|||
} else {
|
||||
http.open('GET', location.href + '?type=option&option=' + type.name + '&state=' + ((type.checked == true) ? 'on' : 'off'), true);
|
||||
}
|
||||
// DEMO CLEANUP CRAP
|
||||
if (rto != null && type.checked == true) {
|
||||
i = 1;
|
||||
while ( (zb = document.getElementById('btn-toggle-z'+i)) != null ) {
|
||||
if (zb.name != type.name) {
|
||||
zb.checked = false;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
http.send(null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue