summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-09 21:17:50 +0300
committerAndrew Dolgov <[email protected]>2018-12-09 21:17:50 +0300
commit1c8593c1fa68cd5287c975bb8ef96efce4edbbab (patch)
tree19deb4ac6fbbfe70f13611323c40bc0da65acb23 /prefs.php
parenta5813bb76699978fcaf7909796b1fbd953a4975b (diff)
add hotkey (a N) to toggle night.css
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.php b/prefs.php
index 92b32fd61..3a5e792e4 100644
--- a/prefs.php
+++ b/prefs.php
@@ -40,9 +40,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');
}
}
?>