mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix errors from using strict mode
This commit is contained in:
parent
1cb065edc6
commit
ba32525b45
9 changed files with 81 additions and 50 deletions
|
@ -24,10 +24,10 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
torrentsTable = new TorrentsTable();
|
||||
torrentPeersTable = new TorrentPeersTable();
|
||||
searchResultsTable = new SearchResultsTable();
|
||||
searchPluginsTable = new SearchPluginsTable();
|
||||
var torrentsTable = new TorrentsTable();
|
||||
var torrentPeersTable = new TorrentPeersTable();
|
||||
var searchResultsTable = new SearchResultsTable();
|
||||
var searchPluginsTable = new SearchPluginsTable();
|
||||
|
||||
var updatePropertiesPanel = function() {};
|
||||
|
||||
|
@ -324,7 +324,7 @@ window.addEvent('load', function() {
|
|||
if (!categoryList)
|
||||
return;
|
||||
var childrens = categoryList.childNodes;
|
||||
for (var i in childrens) {
|
||||
for (var i = 0; i < childrens.length; ++i) {
|
||||
if (childrens[i].id == selected_category)
|
||||
childrens[i].className = "selectedFilter";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue