mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix the tracker icons when used via a Proxy
This commit is contained in:
parent
e0a8fd70f5
commit
57fa3d8834
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ Copyright:
|
|||
var image = '';
|
||||
if (r.store.id == 'tracker_host') {
|
||||
if (value != 'Error') {
|
||||
image = String.format('url(/tracker/{0})', value);
|
||||
image = String.format('url(' + Deluge.config.base + 'tracker/{0})', value);
|
||||
} else {
|
||||
lname = null;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ Copyright:
|
|||
return (value < 0) ? '∞' : new Number(value).toFixed(3);
|
||||
}
|
||||
function trackerRenderer(value, p, r) {
|
||||
return String.format('<div style="background: url(/tracker/{0}) no-repeat; padding-left: 20px;">{0}</div>', value);
|
||||
return String.format('<div style="background: url(' + Deluge.config.base + 'tracker/{0}) no-repeat; padding-left: 20px;">{0}</div>', value);
|
||||
}
|
||||
|
||||
function etaSorter(eta) {
|
||||
|
|
Loading…
Add table
Reference in a new issue