aboutsummaryrefslogtreecommitdiff
path: root/utils-prod.js
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-06-13 13:04:07 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-06-13 13:04:07 +0200
commit4882c5ca3a65075e03595588ef3780a36bc74b15 (patch)
tree07aa2a276cd87a8e192147440411c1f51d8aa624 /utils-prod.js
parent9fbd21ff6bf97b9ce77cb78f420abd951b8aaf27 (diff)
downloadbycs-sol-4882c5ca3a65075e03595588ef3780a36bc74b15.tar.gz
bycs-sol-4882c5ca3a65075e03595588ef3780a36bc74b15.zip
move generic js into root
Diffstat (limited to 'utils-prod.js')
-rw-r--r--utils-prod.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils-prod.js b/utils-prod.js
deleted file mode 100644
index 1dd7e8e..0000000
--- a/utils-prod.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export function isTeacher() {
- return Boolean(document.querySelector('.editmode-switch-form'))
- || Boolean(document.querySelector('a[href*="templates.php"]'))
- || document.body.classList.contains('editing');
-}