Spaces:
Running
Running
tmp
Browse files- dist/index.html +0 -4
dist/index.html
CHANGED
@@ -8,10 +8,6 @@
|
|
8 |
const newHtmlElement = htmlElement.cloneNode(true);
|
9 |
htmlElement.parentNode.replaceChild(newHtmlElement, htmlElement);
|
10 |
// Wait for DOM to be ready before forcing reflow
|
11 |
-
document.addEventListener('DOMContentLoaded', () => {
|
12 |
-
void document.body.offsetWidth;
|
13 |
-
console.log('DOCTYPE is present');
|
14 |
-
});
|
15 |
}
|
16 |
else {
|
17 |
console.log('DOCTYPE is present');
|
|
|
8 |
const newHtmlElement = htmlElement.cloneNode(true);
|
9 |
htmlElement.parentNode.replaceChild(newHtmlElement, htmlElement);
|
10 |
// Wait for DOM to be ready before forcing reflow
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
else {
|
13 |
console.log('DOCTYPE is present');
|