Kaynağa Gözat

Fix loading spin regression when no article (#8588)

Fix https://github.com/FreshRSS/FreshRSS/issues/8586
Regression from https://github.com/FreshRSS/FreshRSS/pull/8577
Alexandre Alapetite 3 hafta önce
ebeveyn
işleme
a7dfd3c34b
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 0
      app/layout/aside_feed.phtml
  2. 0 4
      app/views/index/normal.phtml

+ 4 - 0
app/layout/aside_feed.phtml

@@ -166,6 +166,10 @@
 <div id="first_load" class="loading"></div>
 <?php flush(); ?>
 
+<template id="dynamic_favicon_base">
+	<?= file_get_contents(PUBLIC_PATH . '/themes/icons/favicon.svg') ?>
+</template>
+
 <template id="tag_config_template">
 	<ul class="dropdown-menu">
 		<li class="item">

+ 0 - 4
app/views/index/normal.phtml

@@ -14,10 +14,6 @@ $useKeepUnreadImportant = !FreshRSS_Context::isImportant() && !FreshRSS_Context:
 $today = @strtotime('today');
 ?>
 
-<template id="dynamic_favicon_base">
-	<?= file_get_contents(PUBLIC_PATH . '/themes/icons/favicon.svg') ?>
-</template>
-
 <datalist id="datalist-labels"></datalist>
 
 <template id="share_article_template">