Closed arrubakook closed 2 years ago
Currently the no-js class on the <html> element does not get updated when JavaScript has been initialised on the page.
no-js
<html>
This is useful in some scenarios such as modifying form elements & fallbacks for interactive elements.
Resolved with something like?
document.documentElement.className = document.documentElement.className.replace('no-js', 'js')
Currently the
no-js
class on the<html>
element does not get updated when JavaScript has been initialised on the page.This is useful in some scenarios such as modifying form elements & fallbacks for interactive elements.
Resolved with something like?
document.documentElement.className = document.documentElement.className.replace('no-js', 'js')