mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
cards: make likes reload page
This commit is contained in:
parent
e157e3bec8
commit
186f85483f
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<div class="section-title-wrapper">
|
||||
<h2>{{$title}}</h2>
|
||||
</div>
|
||||
<div id="live-cards"></div>
|
||||
{{$editor}}
|
||||
{{$content}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue