Add bd-transparency class. (#1024)
This commit is contained in:
parent
3874fca041
commit
a0a4670ece
|
@ -9,10 +9,12 @@ export default new class WindowTransparency extends Builtin {
|
|||
|
||||
enabled() {
|
||||
this.showModal(Strings.WindowPrefs.enabledInfo);
|
||||
document.body.classList.add("bd-transparency");
|
||||
}
|
||||
|
||||
disabled() {
|
||||
this.showModal(Strings.WindowPrefs.disabledInfo);
|
||||
document.body.classList.remove("bd-transparency");
|
||||
}
|
||||
|
||||
showModal(info) {
|
||||
|
|
Loading…
Reference in New Issue