mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-26 06:25:27 +00:00
parent
2e8b17e498
commit
04f270b9bc
@ -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…
x
Reference in New Issue
Block a user