aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/tree.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2024-02-21 15:32:03 +0100
committerAndreas Gohr <andi@splitbrain.org>2024-02-21 15:51:21 +0100
commite0aa67753c3ad9c04d4370e827d210fd488da966 (patch)
tree55f1d1fb9b78043a8d2bf804e420f171ccd3375c /lib/scripts/tree.js
parente5d413b07e3797d0f7a9df3342f08a2e51ec9fc0 (diff)
downloaddokuwiki-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