@@ -365,7 +365,7 @@ function do_apply(element, selectors, classes, events, media_query) {
365365
366366function init ( document , event = undefined ) {
367367 const tag_console = `init : ${ event ? `(${ event . type } )` : '' } ` ;
368- console . time ( tag_console ) ;
368+ // console.time(tag_console);
369369 // console.log(event?.type);
370370
371371 const elements = document . querySelectorAll ( '*:not(head, head *)[class]' ) ;
@@ -387,14 +387,13 @@ function init(document, event = undefined) {
387387 subtree : true ,
388388 } ) ;
389389
390- console . timeEnd ( tag_console ) ;
390+ // console.timeEnd(tag_console);
391391
392- document . body . removeAttribute ( 'aria-busy' ) ;
393- document . body . removeAttribute ( 'hidden' ) ;
392+ document . documentElement . removeAttribute ( 'aria-busy' ) ;
394393}
395394
396395function init_observer ( record ) {
397- console . time ( 'init_observer' ) ;
396+ // console.time('init_observer');
398397 for ( let i = 0 ; i < record . length ; i ++ ) {
399398 const { type, target, attributeName } = record [ i ] ;
400399 if ( type === 'attributes' && attributeName === 'class' ) {
@@ -408,7 +407,7 @@ function init_observer(record) {
408407 }
409408 }
410409 }
411- console . timeEnd ( 'init_observer' ) ;
410+ // console.timeEnd('init_observer');
412411}
413412
414413const CSS_IN_JS_IN_HTML = {
0 commit comments