From 4ac2ae518d8d960642fb82d88e1f9a8035526758 Mon Sep 17 00:00:00 2001 From: squandor Date: Sat, 21 Jan 2017 22:57:57 +0100 Subject: [PATCH] fixed readme issue for plugins --- static/js/domoboard.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/js/domoboard.js b/static/js/domoboard.js index a32fb1c..b47a3c1 100644 --- a/static/js/domoboard.js +++ b/static/js/domoboard.js @@ -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);