mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 19:57:45 +03:00
parent
2e8b17e498
commit
04f270b9bc
1 changed files with 4 additions and 4 deletions
|
@ -1602,14 +1602,14 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
this.columns['enabled'].updateTd = function(td, row) {
|
||||
const value = this.getRowValue(row);
|
||||
if (value) {
|
||||
td.set('text', "Yes");
|
||||
td.set('title', "Yes");
|
||||
td.set('text', 'QBT_TR(Yes)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.set('title', 'QBT_TR(Yes)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.getParent("tr").addClass("green");
|
||||
td.getParent("tr").removeClass("red");
|
||||
}
|
||||
else {
|
||||
td.set('text', "No");
|
||||
td.set('title', "No");
|
||||
td.set('text', 'QBT_TR(No)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.set('title', 'QBT_TR(No)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.getParent("tr").addClass("red");
|
||||
td.getParent("tr").removeClass("green");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue