From 07f4878d59a7459472e66a2ba0c1c0413232107e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 15 Dec 2019 11:57:26 +0300 Subject: workaround for a race condition between dojo.parse() and tt-rss loading proper day/night css on startup because of firefox async CSS loader --- index.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 8fb76bc2a..f7ea6178a 100644 --- a/index.php +++ b/index.php @@ -48,8 +48,6 @@ $theme = get_pref("USER_CSS_THEME", false, false); if ($theme && theme_exists("$theme")) { echo stylesheet_tag(get_theme_path($theme), 'theme_css'); - } else { - echo stylesheet_tag("css/default.css", 'theme_css'); } } ?> @@ -116,11 +114,23 @@ ?> + + - +
-- cgit v1.2.3