|
|
|
@ -1182,12 +1182,14 @@ var TorrentPeersTable = new Class({
@@ -1182,12 +1182,14 @@ var TorrentPeersTable = new Class({
|
|
|
|
|
if (td.getChildren('img').length) { |
|
|
|
|
var img = td.getChildren('img')[0]; |
|
|
|
|
img.set('src', img_path); |
|
|
|
|
img.set('class', 'flags'); |
|
|
|
|
img.set('alt', country); |
|
|
|
|
img.set('title', country); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
td.adopt(new Element('img', { |
|
|
|
|
'src' : img_path, |
|
|
|
|
'class' : 'flags', |
|
|
|
|
'alt' : country, |
|
|
|
|
'title' : country |
|
|
|
|
})); |
|
|
|
|