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