From 346b76143fbd65faff8802a46ba74c04dd1c63cd Mon Sep 17 00:00:00 2001 From: Steven Engler Date: Sun, 14 Apr 2024 18:39:51 -0400 Subject: [PATCH] Added LibreJS license to theme switcher --- static/js/theme-switcher.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/theme-switcher.js b/static/js/theme-switcher.js index 34d26ee..0c9b9f7 100644 --- a/static/js/theme-switcher.js +++ b/static/js/theme-switcher.js @@ -1,3 +1,6 @@ +// license information for librejs extension users +// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt "Expat License (sometimes called MIT Licensed)" + // in Firefox we need to add a new css style with document.write rather than modifying the href // of the existing one, otherwise the screen will flash white while loading on dark themes var theme_css_elem = document.getElementById('theme_css'); @@ -38,3 +41,5 @@ function toggle_theme(){ } update_toggle_button(); } + +// @license-end