1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Added linting for consistent-return

This commit is contained in:
kkapsner 2019-12-01 01:25:39 +01:00
parent 635cdf8061
commit 1aff68d802
10 changed files with 43 additions and 42 deletions

View file

@ -65,7 +65,7 @@
if (choice){
return settings.set("showNotifications", false, choice);
}
return;
return false;
}).then(function(){
return window.close();
});
@ -123,7 +123,7 @@
if (choice){
return settings.set(setting.name, setting.value, choice);
}
return;
return false;
}).then(function(){
return window.close();
});
@ -142,7 +142,7 @@
if (choice){
return lists.appendTo("sessionWhite", choice);
}
return;
return false;
}).then(function(){
return window.close();
});