Working on theme. Added power panel and background.
This commit is contained in:
1 parent
c519afd3f6
commit
2fd4ea998f
4 files changed
+74
-43
No files matched your search
@@ -0,0 +1,12 @@
|
||||
var powerOptionsEl = document.getElementById("power-options")
|
||||
var powerPanelClasses = document.getElementById("power-panel").classList;
|
||||
|
||||
function showPowerOptions() {
|
||||
powerPanelClasses.add('active');
|
||||
}
|
||||
|
||||
function hidePowerOptions(e) {
|
||||
console.log(e.target);
|
||||
if (e.target != powerOptionsEl) return;
|
||||
powerPanelClasses.remove('active');
|
||||
}
|
||||
Reference in new issue
Block a user