Refactor #1259, add double tap to like and deprecate lightbox
This commit is contained in:
parent
8dbe44d9fc
commit
2b0aaeb7c1
9 changed files with 83 additions and 244 deletions
|
@ -87,7 +87,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="postPresenterContainer" v-on:doubletap="likeStatus(status, $event)">
|
||||
<div class="postPresenterContainer" v-on:dblclick="likeStatus(status)">
|
||||
<div v-if="status.pf_type === 'photo'" class="w-100">
|
||||
<photo-presenter :status="status" v-on:lightbox="lightbox"></photo-presenter>
|
||||
</div>
|
||||
|
@ -636,7 +636,7 @@
|
|||
this.fetchStatusComments(status, '');
|
||||
},
|
||||
|
||||
likeStatus(status, $event) {
|
||||
likeStatus(status) {
|
||||
if($('body').hasClass('loggedIn') == false) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue