forked from DTACat/Collectibles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevTools.js
More file actions
28 lines (22 loc) · 776 Bytes
/
DevTools.js
File metadata and controls
28 lines (22 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let tools = document.getElementById('dev-tools');
let tools403 = document.getElementById('dev-tools-403');
let button = document.getElementById('devtools-button');
let button_ = document.getElementById('devtools-button-real');
if (tools.classList.contains('hidden')) {
tools.classList.remove('hidden');
}
if (tools403.classList.contains('left-sidebar')) {
tools403.classList.add('hidden');
}
if (button.classList.contains('button')) {
button.classList.add('hidden');
}
if (button.classList.contains('server-button-blue')) {
button.classList.remove('server-button-blue');
}
if (button_.classList.contains('hidden')) {
button_.classList.remove('hidden');
}
if (button_.classList.contains('button')) {
button_.classList.add('server-button-blue');
}