diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-06-13 13:04:07 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-06-13 13:04:07 +0200 |
| commit | 4882c5ca3a65075e03595588ef3780a36bc74b15 (patch) | |
| tree | 07aa2a276cd87a8e192147440411c1f51d8aa624 /utils-prod.js | |
| parent | 9fbd21ff6bf97b9ce77cb78f420abd951b8aaf27 (diff) | |
| download | bycs-sol-4882c5ca3a65075e03595588ef3780a36bc74b15.tar.gz bycs-sol-4882c5ca3a65075e03595588ef3780a36bc74b15.zip | |
move generic js into root
Diffstat (limited to 'utils-prod.js')
| -rw-r--r-- | utils-prod.js | 5 |
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'); -} |
