Render message and media id
This commit is contained in:
parent
c5fc5107ca
commit
aa139567fb
@ -1,4 +1,4 @@
|
|||||||
<div class="im_message_outer_wrap hasselect" ng-click="toggleMessage(historyMessage.mid, $event)">
|
<div class="im_message_outer_wrap hasselect" ng-click="toggleMessage(historyMessage.mid, $event)" data-msg-id="{{::historyMessage.id}}">
|
||||||
|
|
||||||
<div class="im_message_wrap clearfix" ng-switch="::historyMessage._ == 'messageService'">
|
<div class="im_message_wrap clearfix" ng-switch="::historyMessage._ == 'messageService'">
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div ng-switch="::media.document.type">
|
<div ng-switch="::media.document.type" data-doc-id="{{::media.document.id}}">
|
||||||
|
|
||||||
<div ng-switch-when="gif" my-load-gif document="media.document"></div>
|
<div ng-switch-when="gif" my-load-gif document="media.document"></div>
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<a class="im_message_photo_thumb" ng-click="openPhoto(media.photo.id, {m: messageId})" ng-style="::{width: media.photo.thumb.width + 'px'}" ng-mouseover="preloadPhoto(media.photo.id)">
|
<a class="im_message_photo_thumb" ng-click="openPhoto(media.photo.id, {m: messageId})" ng-style="::{width: media.photo.thumb.width + 'px'}" ng-mouseover="preloadPhoto(media.photo.id)" data-photo-id="{{::media.photo.id}}">
|
||||||
|
|
||||||
<img
|
<img
|
||||||
class="im_message_photo_thumb"
|
class="im_message_photo_thumb"
|
||||||
my-load-thumb
|
my-load-thumb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user