Fix #2232 : WebUI: Flag Icon path in Peers Tab missing deluge.config.base
This commit is contained in:
parent
848b14605e
commit
ac6785eb1a
|
@ -35,7 +35,7 @@
|
|||
if (!value.replace(' ', '').replace(' ', '')){
|
||||
return '';
|
||||
}
|
||||
return String.format('<img src="flag/{0}" />', value);
|
||||
return String.format('<img src="{0}flag/{1}" />', deluge.config.base, value);
|
||||
}
|
||||
function peerAddressRenderer(value, p, record) {
|
||||
var seed = (record.data['seed'] == 1024) ? 'x-deluge-seed' : 'x-deluge-peer';
|
||||
|
|
Loading…
Reference in New Issue