Commit ed77dd6d authored by Pierre M's avatar Pierre M
Browse files

fix missing variable declaration


Signed-off-by: Pierre M's avatarPierre Mazière <pierre.maziere@gmx.com>
parent 44e3c8d1
......@@ -207,7 +207,7 @@
response.context.style.display = "none";
if(unlistClosedAccounts){
let userLink =response.context.getElementsByClassName('meta').item(0).getElementsByTagName('a').item(0);
index = plonkList.indexOf(userLink.href.match(userRE)[1]);
let index = plonkList.indexOf(userLink.href.match(userRE)[1]);
if(index !== -1){
plonkList.splice(index,1);
GM_setValue("plonkList",JSON.stringify(plonkList));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment