fix(torrents): fixed screenshots picture edit issue

This commit is contained in:
OldHawk
2018-06-01 01:55:04 +08:00
parent c046bc1e9d
commit 0e21db46fb
2 changed files with 3 additions and 3 deletions

View File

@@ -1566,7 +1566,7 @@
vm.beginEditScreenshots = function () {
vm.isEditScreenshots = true;
var imgDiv = angular.element('.torrent-img-list');
var imgDiv = angular.element('.torrent-images .torrent-img-list');
if (imgDiv) {
imgDiv.css('display', 'none');
}

View File

@@ -220,7 +220,7 @@
<div class="img-container" ng-if="!vm.showScreenshotsTab()">
<div ng-if="vm.torrentLocalInfo.screenshots_image.length>0 || (vm.isOwner(vm.torrentLocalInfo) || vm.user.isOper)">
<div torrent-image-list="true" id="img_container_{{vm.torrentLocalInfo._id}}"
<div class="torrent-images" torrent-image-list="true" id="img_container_{{vm.torrentLocalInfo._id}}"
img-click-event="vm.onImageClick(event)" imgs="vm.torrentLocalInfo.screenshots_image">
<legend class="xsmall-legend strong-legend" translate="TMDB_FIELDS.IMAGE_OVERVIEW"></legend>
</div>
@@ -973,7 +973,7 @@
</span>
<div ng-if="vm.torrentLocalInfo.screenshots_image.length>0 || (vm.isOwner(vm.torrentLocalInfo) || vm.user.isOper)">
<div torrent-image-list="true"
<div class="torrent-images" torrent-image-list="true"
img-click-event="vm.onImageClick(event)" imgs="vm.torrentLocalInfo.screenshots_image">
<legend class="xsmall-legend strong-legend" translate="TMDB_FIELDS.SCREENSHOTS_OVERVIEW"></legend>
</div>