We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4a520 commit 0d5161bCopy full SHA for 0d5161b
src/generators/legacy-html/assets/api.js
@@ -15,10 +15,6 @@ const initFeatures = () => {
15
setupCopyButton();
16
};
17
18
-// Initialize either on DOMContentLoaded or immediately if already loaded
19
-document.addEventListener('DOMContentLoaded', initFeatures);
20
-if (document.readyState !== 'loading') initFeatures();
21
-
22
/**
23
* Sets up theme toggling functionality
24
*/
@@ -202,3 +198,8 @@ const setupCopyButton = () => {
202
198
});
203
199
204
200
201
+
+// Initialize either on DOMContentLoaded or immediately if already loaded
+document.addEventListener('DOMContentLoaded', initFeatures);
+if (document.readyState !== 'loading') initFeatures();
205
0 commit comments