Added LibreJS license to theme switcher
This commit is contained in:
parent
fa68a9e90e
commit
346b76143f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user