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-display').length) { src = 'display'; 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) {
liking = 0;
window.location.href=window.location.href;

View file

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