mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
WebUI: prefer arrow function in callbacks
This commit is contained in:
committed by
sledgehammer999
parent
1ef21bc2b7
commit
a19d623ead
@@ -206,7 +206,7 @@ window.qBittorrent.Misc = (function() {
|
||||
*/
|
||||
const containsAllTerms = function(text, terms) {
|
||||
const textToSearch = text.toLowerCase();
|
||||
return terms.every(function(term) {
|
||||
return terms.every((term) => {
|
||||
const isTermRequired = (term[0] === "+");
|
||||
const isTermExcluded = (term[0] === "-");
|
||||
if (isTermRequired || isTermExcluded) {
|
||||
|
||||
Reference in New Issue
Block a user