mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-11 19:06:56 +00:00
fix the tracker icons when used via a Proxy
This commit is contained in:
parent
e0a8fd70f5
commit
57fa3d8834
@ -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…
x
Reference in New Issue
Block a user