Skip to content

Commit 8a9f10b

Browse files
improve api
1 parent fb0d1b3 commit 8a9f10b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

assets/api.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ async function loadExampleResponses() {
1919
});
2020
}
2121

22-
window.addEventListener("load", (_) => {
23-
loadExampleResponses().then(() => {
24-
hljs.highlightAll();
25-
});
22+
loadExampleResponses().then(() => {
23+
hljs.highlightAll();
2624
});

0 commit comments

Comments
 (0)