aboutsummaryrefslogtreecommitdiff
path: root/app/layout/aside_feed.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-18 18:45:47 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-18 18:45:47 +0200
commit0442243037fc7fb80228790a871328629a1aa882 (patch)
tree690cde0ab388a341d22e436032d329d46dd07284 /app/layout/aside_feed.phtml
parentfa56f90223ce44c34b2919567d163ca4f2e81f65 (diff)
Fix nav_menu mark-as-read (#2909)
* Fix nav_menu mark-as-read #Fix https://github.com/FreshRSS/FreshRSS/issues/2905 Fix regression from https://github.com/FreshRSS/FreshRSS/pull/2588 We need info about the first item (id_max) before being able to output nav_menu. Before https://github.com/FreshRSS/FreshRSS/pull/2588 we used to output everything in memory before starting to produce an output. Now that we stream the output, we need a temporary buffer until we have received the first item/article. * Repair loading page * Simplify CSS Make it work in Chrome as well * Lint * Partial revert * Base max_id solely on current time
Diffstat (limited to 'app/layout/aside_feed.phtml')
-rw-r--r--app/layout/aside_feed.phtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index 191413184..6c1f934cb 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -109,6 +109,9 @@
</form>
</div>
+<div id="first_load" class="loading"></div>
+<?php flush(); ?>
+
<script id="tag_config_template" type="text/html">
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>