mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Fix typos
This commit is contained in:
parent
fe0fb3a251
commit
80d1c48f0d
@ -401,12 +401,12 @@ window.addEvent('load', function() {
|
|||||||
const categoryList = $('categoryFilterList');
|
const categoryList = $('categoryFilterList');
|
||||||
if (!categoryList)
|
if (!categoryList)
|
||||||
return;
|
return;
|
||||||
const childrens = categoryList.childNodes;
|
const children = categoryList.childNodes;
|
||||||
for (let i = 0; i < childrens.length; ++i) {
|
for (let i = 0; i < children.length; ++i) {
|
||||||
if (childrens[i].id == selected_category)
|
if (children[i].id == selected_category)
|
||||||
childrens[i].className = "selectedFilter";
|
children[i].className = "selectedFilter";
|
||||||
else
|
else
|
||||||
childrens[i].className = "";
|
children[i].className = "";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
let lastShownContexMenu = null;
|
let lastShownContextMenu = null;
|
||||||
const ContextMenu = new Class({
|
const ContextMenu = new Class({
|
||||||
//implements
|
//implements
|
||||||
Implements: [Options, Events],
|
Implements: [Options, Events],
|
||||||
@ -214,12 +214,12 @@ const ContextMenu = new Class({
|
|||||||
|
|
||||||
//show menu
|
//show menu
|
||||||
show: function(trigger) {
|
show: function(trigger) {
|
||||||
if (lastShownContexMenu && lastShownContexMenu != this)
|
if (lastShownContextMenu && lastShownContextMenu != this)
|
||||||
lastShownContexMenu.hide();
|
lastShownContextMenu.hide();
|
||||||
this.fx.start(1);
|
this.fx.start(1);
|
||||||
this.fireEvent('show');
|
this.fireEvent('show');
|
||||||
this.shown = true;
|
this.shown = true;
|
||||||
lastShownContexMenu = this;
|
lastShownContextMenu = this;
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -455,7 +455,7 @@ const DynamicTable = new Class({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getSortedColunn: function() {
|
getSortedColumn: function() {
|
||||||
return localStorage.getItem('sorted_column_' + this.dynamicTableDivId);
|
return localStorage.getItem('sorted_column_' + this.dynamicTableDivId);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -369,5 +369,5 @@ if (tableHeaders.length > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// default sort by name column
|
// default sort by name column
|
||||||
if (torrentFilesTable.getSortedColunn() === null)
|
if (torrentFilesTable.getSortedColumn() === null)
|
||||||
torrentFilesTable.setSortedColumn('name');
|
torrentFilesTable.setSortedColumn('name');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user