Browse Source

Add missing semicolons

Also trim trailing whitespaces along the way.
adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
ccdc3b201b
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/webui/www/private/scripts/dynamicTable.js
  2. 4
      src/webui/www/private/scripts/mocha-init.js
  3. 2
      src/webui/www/private/views/rss.html
  4. 2
      src/webui/www/private/views/rssDownloader.html

4
src/webui/www/private/scripts/dynamicTable.js

@ -1305,9 +1305,9 @@ window.qBittorrent.DynamicTable = (function() {
return false; return false;
break; break;
default: default:
const tracker = trackerList.get(trackerHashInt) const tracker = trackerList.get(trackerHashInt);
if (tracker && !tracker.torrents.includes(row['full_data'].rowId)) if (tracker && !tracker.torrents.includes(row['full_data'].rowId))
return false return false;
break; break;
} }

4
src/webui/www/private/scripts/mocha-init.js

@ -824,7 +824,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS); hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break; break;
default: default:
hashes = trackerList.get(trackerHashInt).torrents hashes = trackerList.get(trackerHashInt).torrents;
break; break;
} }
@ -851,7 +851,7 @@ const initializeWindows = function() {
hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS); hashes = torrentsTable.getFilteredTorrentsHashes('all', CATEGORIES_ALL, TAGS_ALL, TRACKERS_TRACKERLESS);
break; break;
default: default:
hashes = trackerList.get(trackerHashInt).torrents hashes = trackerList.get(trackerHashInt).torrents;
break; break;
} }

2
src/webui/www/private/views/rss.html

@ -462,7 +462,7 @@
recFlatten(current[child], child, depth + 1, currentFullName); recFlatten(current[child], child, depth + 1, currentFullName);
} }
} }
} };
recFlatten(response); recFlatten(response);
// check if rows matche flattend response // check if rows matche flattend response

2
src/webui/www/private/views/rssDownloader.html

@ -456,7 +456,7 @@ Supports the formats: S01E01, 1x1, 2017.01.01 and 01.01.2017 (Date formats also
}).send(); }).send();
$('savetoDifferentDir').addEvent('click', () => { $('savetoDifferentDir').addEvent('click', () => {
$('saveToText').disabled = !$('savetoDifferentDir').checked; $('saveToText').disabled = !$('savetoDifferentDir').checked;
}) });
updateRulesList(); updateRulesList();
}; };

Loading…
Cancel
Save