mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +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 = '';
|
var image = '';
|
||||||
if (r.store.id == 'tracker_host') {
|
if (r.store.id == 'tracker_host') {
|
||||||
if (value != 'Error') {
|
if (value != 'Error') {
|
||||||
image = String.format('url(/tracker/{0})', value);
|
image = String.format('url(' + Deluge.config.base + 'tracker/{0})', value);
|
||||||
} else {
|
} else {
|
||||||
lname = null;
|
lname = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@ Copyright:
|
||||||
return (value < 0) ? '∞' : new Number(value).toFixed(3);
|
return (value < 0) ? '∞' : new Number(value).toFixed(3);
|
||||||
}
|
}
|
||||||
function trackerRenderer(value, p, r) {
|
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) {
|
function etaSorter(eta) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue