fix(core): 🐛 ensure loading indicator is removed when script is loaded

This commit is contained in:
alistair3149 2023-05-06 17:51:41 -04:00 committed by GitHub
parent bedfa3a571
commit 09ffed668d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,9 @@ function main( window ) {
search = require( './search.js' ),
checkbox = require( './checkbox.js' );
// Sometimes the loading indicator isn't removed
document.documentElement.classList.remove( 'citizen-loading' );
enableCssAnimations( window.document );
search.init( window );
initStickyHeader( window.document );