Ticket #2232: PeersTab.js.patch
File PeersTab.js.patch, 465 bytes (added by , 12 years ago) |
---|
-
PeersTab.
old new 35 35 if (!value.replace(' ', '').replace(' ', '')){ 36 36 return ''; 37 37 } 38 return String.format('<img src=" flag/{0}" />', value);38 return String.format('<img src="{0}/flag/{1}" />', deluge.config.base, value); 39 39 } 40 40 function peerAddressRenderer(value, p, record) { 41 41 var seed = (record.data['seed'] == 1024) ? 'x-deluge-seed' : 'x-deluge-peer';