mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-13 15:40:27 +01:00
fix(torrents): fixed torrent images list issue
This commit is contained in:
@@ -43,12 +43,12 @@
|
||||
|
||||
//remove
|
||||
angular.forEach(imgs, function (i) {
|
||||
if (i.previousSibling && i.previousSibling.tagName.toUpperCase() === 'BR') {
|
||||
i.previousSibling.remove();
|
||||
}
|
||||
if (i.parentElement.childElementCount === 1) {
|
||||
angular.element(i.parentElement).remove();
|
||||
} else {
|
||||
if (i.previousSibling && i.previousSibling.tagName.toUpperCase() === 'BR') {
|
||||
i.previousSibling.remove();
|
||||
}
|
||||
angular.element(i).remove();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -225,7 +225,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="torrent-info-tabs">
|
||||
<div class="torrent-info-tabs" ng-if="vm.torrentLocalInfo">
|
||||
<div class="info-tabs-top">
|
||||
</div>
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user