cards: make likes reload page

This commit is contained in:
zotlabs 2017-08-23 22:17:15 -07:00
parent e157e3bec8
commit 186f85483f
2 changed files with 3 additions and 2 deletions

View File

@ -380,9 +380,9 @@ function NavUpdate() {
if($('#live-pubstream').length) { src = 'pubstream'; liveUpdate(); } if($('#live-pubstream').length) { src = 'pubstream'; liveUpdate(); }
if($('#live-display').length) { src = 'display'; liveUpdate(); } if($('#live-display').length) { src = 'display'; liveUpdate(); }
if($('#live-search').length) { src = 'search'; liveUpdate(); } if($('#live-search').length) { src = 'search'; liveUpdate(); }
if($('#live-cards').length) { src = 'cards'; liveUpdate(); } // if($('#live-cards').length) { src = 'cards'; liveUpdate(); }
if($('#live-photos').length) { if($('#live-photos').length || $('#live-cards').length) {
if(liking) { if(liking) {
liking = 0; liking = 0;
window.location.href=window.location.href; window.location.href=window.location.href;

View File

@ -2,6 +2,7 @@
<div class="section-title-wrapper"> <div class="section-title-wrapper">
<h2>{{$title}}</h2> <h2>{{$title}}</h2>
</div> </div>
<div id="live-cards"></div>
{{$editor}} {{$editor}}
{{$content}} {{$content}}
</div> </div>