cards: make likes reload page
This commit is contained in:
parent
e157e3bec8
commit
186f85483f
@ -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;
|
||||||
|
@ -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>
|
||||||
|
Reference in New Issue
Block a user