diff options
author | Andrew Dolgov <[email protected]> | 2018-12-09 21:17:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-09 21:17:50 +0300 |
commit | 1c8593c1fa68cd5287c975bb8ef96efce4edbbab (patch) | |
tree | 19deb4ac6fbbfe70f13611323c40bc0da65acb23 /index.php | |
parent | a5813bb76699978fcaf7909796b1fbd953a4975b (diff) |
add hotkey (a N) to toggle night.css
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,9 +64,9 @@ <?php if ($_SESSION["uid"]) { $theme = get_pref("USER_CSS_THEME", false, false); if ($theme && theme_exists("$theme")) { - echo stylesheet_tag(get_theme_path($theme)); + echo stylesheet_tag(get_theme_path($theme), 'theme_css'); } else { - echo stylesheet_tag("css/default.css"); + echo stylesheet_tag("css/default.css", 'theme_css'); } } ?> |