Skip to content

Commit

Permalink
removed "defer" as loading method for tippy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
douden committed Nov 25, 2024
1 parent 9ec5422 commit 6e7ac23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/teachbooks_sphinx_tippy.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def collect_tips(

# add the JS files
for js_file in tippy_config.js_files:
app.add_js_file(js_file, loading_method="defer")
app.add_js_file(js_file, loading_method=None)
app.add_js_file(
str(js_path.relative_to(Path(app.outdir, "_static"))), loading_method="defer"
)
Expand Down

0 comments on commit 6e7ac23

Please sign in to comment.