We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9574e7 commit bb4bad9Copy full SHA for bb4bad9
src/pydata_sphinx_theme/assets/scripts/mixin.js
@@ -9,5 +9,5 @@
9
*/
10
export function documentReady(callback) {
11
if (document.readyState != "loading") callback();
12
- else document.addEventListener("DOMContentLoaded", callback());
+ else document.addEventListener("DOMContentLoaded", callback);
13
}
0 commit comments