Added LibreJS license to theme switcher

This commit is contained in:
Steven Engler 2024-04-14 18:39:51 -04:00
parent fa68a9e90e
commit 346b76143f

View File

@ -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 // 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 // of the existing one, otherwise the screen will flash white while loading on dark themes
var theme_css_elem = document.getElementById('theme_css'); var theme_css_elem = document.getElementById('theme_css');
@ -38,3 +41,5 @@ function toggle_theme(){
} }
update_toggle_button(); update_toggle_button();
} }
// @license-end