diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2019-12-12 20:09:43 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2019-12-12 20:09:43 +0300 |
| commit | 0237dee980157554ab2c9a79b6e9d10cec9e2f3a (patch) | |
| tree | 8b06bde8a95a70b9e61f9d2fb37c117ad089ed63 /include/controls.php | |
| parent | 9c0235ab66b28f987a53d3858983f81f4d4894a3 (diff) | |
implement automatic night mode detection using MQL
add separate light.css to force light theme
remove manual night mode toggle and related code
Diffstat (limited to 'include/controls.php')
| -rwxr-xr-x | include/controls.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/controls.php b/include/controls.php index 012bcf76c..8646ec15d 100755 --- a/include/controls.php +++ b/include/controls.php @@ -238,7 +238,7 @@ function stylesheet_tag($filename, $id = false) { $id_part = $id ? "id=\"$id\"" : ""; - return "<link rel=\"stylesheet\" $id_part type=\"text/css\" href=\"$filename?$timestamp\"/>\n"; + return "<link rel=\"stylesheet\" $id_part type=\"text/css\" data-orig-href=\"$filename\" href=\"$filename?$timestamp\"/>\n"; } function javascript_tag($filename) { |