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:
parent
635cdf8061
commit
1aff68d802
10 changed files with 43 additions and 42 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue