Ticket #2232: PeersTab.js.patch

File PeersTab.js.patch, 465 bytes (added by clippit, 12 years ago)
  • PeersTab.

    old new  
    3535                if (!value.replace(' ', '').replace(' ', '')){
    3636            return '';
    3737        }
    38                 return String.format('<img src="flag/{0}" />', value);
     38                return String.format('<img src="{0}/flag/{1}" />', deluge.config.base, value);
    3939        }
    4040        function peerAddressRenderer(value, p, record) {
    4141                var seed = (record.data['seed'] == 1024) ? 'x-deluge-seed' : 'x-deluge-peer';