浏览代码

Change location of in-view-indicator (#468)

Fixes #303
IndianaDschones 7 年之前
父节点
当前提交
eb512f8551
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/directives/message_media.html

+ 1 - 1
src/directives/message_media.html

@@ -1,6 +1,5 @@
 <!-- Thumbnail -->
 <!-- Images, Gifs & Videos -->
-<span class="in-view-indicator" ng-if="ctrl.type !== 'location'" in-view="ctrl.thumbnailInView($inview)"></span>
 
 <div ng-if="ctrl.uploading">
     <!-- Loading indicator -->
@@ -27,6 +26,7 @@
         </div>
 
         <!-- Thumbnails -->
+        <span class="in-view-indicator" ng-if="ctrl.type !== 'location'" in-view="ctrl.thumbnailInView($inview)"></span>
         <img ng-if="ctrl.thumbnail !== null" ng-src="{{ctrl.thumbnail}}">
         <div ng-if="ctrl.message.thumbnail != undefined" class="thumbnail-loader">
             <img ng-src="{{ ctrl.message.thumbnail.preview | bufferToUrl: 'image/png' }}">