fixed readme issue for plugins

This commit is contained in:
squandor 2017-01-21 22:57:57 +01:00
parent 3edb0da0f8
commit 4ac2ae518d
1 changed files with 0 additions and 2 deletions

View File

@ -24,9 +24,7 @@ function changeSwitch(checkboxElem, idx) {
// switchSelector
function switchSelector(idx, lvl, bid) {
var old_bid = bid.replace(new RegExp(lvl + '$'), '');
//var old_index = bid.replace(lvl, '');
url = '/api?type=devices&rid=' + idx;
requestAPI(flask_server + url, function(d) {
r = JSON.parse(d);