diff options
author | Andreas Gohr <andi@splitbrain.org> | 2024-02-21 15:32:03 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2024-02-21 15:51:21 +0100 |
commit | e0aa67753c3ad9c04d4370e827d210fd488da966 (patch) | |
tree | 55f1d1fb9b78043a8d2bf804e420f171ccd3375c /lib/scripts/tree.js | |
parent | e5d413b07e3797d0f7a9df3342f08a2e51ec9fc0 (diff) | |
download | dokuwiki-e0aa67753c3ad9c04d4370e827d210fd488da966.tar.gz dokuwiki-e0aa67753c3ad9c04d4370e827d210fd488da966.zip |
move JS detection to default script
This moves the little helper that will remove a "no-js" class from the
header element as soon as JavaScript is detected from the dokuwiki
template to our default inline script that also initializes the JSINFO
array.
This ensures that this inline script is run with a nonce (if available).
See #3788 for more infor
Diffstat (limited to 'lib/scripts/tree.js')
0 files changed, 0 insertions, 0 deletions