@@ -365,7 +365,7 @@ function do_apply(element, selectors, classes, events, media_query) {
365
365
366
366
function init ( document , event = undefined ) {
367
367
const tag_console = `init : ${ event ? `(${ event . type } )` : '' } ` ;
368
- console . time ( tag_console ) ;
368
+ // console.time(tag_console);
369
369
// console.log(event?.type);
370
370
371
371
const elements = document . querySelectorAll ( '*:not(head, head *)[class]' ) ;
@@ -387,14 +387,13 @@ function init(document, event = undefined) {
387
387
subtree : true ,
388
388
} ) ;
389
389
390
- console . timeEnd ( tag_console ) ;
390
+ // console.timeEnd(tag_console);
391
391
392
- document . body . removeAttribute ( 'aria-busy' ) ;
393
- document . body . removeAttribute ( 'hidden' ) ;
392
+ document . documentElement . removeAttribute ( 'aria-busy' ) ;
394
393
}
395
394
396
395
function init_observer ( record ) {
397
- console . time ( 'init_observer' ) ;
396
+ // console.time('init_observer');
398
397
for ( let i = 0 ; i < record . length ; i ++ ) {
399
398
const { type, target, attributeName } = record [ i ] ;
400
399
if ( type === 'attributes
68D3
' && attributeName === 'class' ) {
@@ -408,7 +407,7 @@ function init_observer(record) {
408
407
}
409
408
}
410
409
}
411
- console . timeEnd ( 'init_observer' ) ;
410
+ // console.timeEnd('init_observer');
412
411
}
413
412
414
413
const CSS_IN_JS_IN_HTML = {
0 commit comments