Browse
For agents
About
WebTotem Security
/
2.2.1
WebTotem Security
v2.2.1
Switch version
3.0.1
3.0.0
trunk
1.0
1.1
1.2
1.3
1.3.1
1.3.2
1.3.3
2.0
2.1
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.1
2.2.2
2.2.3
2.2.4
All 109 releases
Overview
Code
wt-security
/
htdocs
/
js
/
dark-theme.js
dark-theme.js
in WebTotem Security 2.2.1, at htdocs/js/dark-theme.js
6 lines
179 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
const
checkboxEl
=
document
.
querySelector
(
"
.wtotem_control__input
"
)
;
2
3
checkboxEl
.
addEventListener
(
"
change
"
,
(
)
=>
{
4
document
.
body
.
classList
.
toggle
(
"
wtotem_theme—dark
"
)
;
5
}
)
;
6