Skip to content

Commit

Permalink
fix custom_script ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Dec 2, 2022
1 parent ee55a0d commit 0115123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MultiDocumenter"
uuid = "87ed4bf0-c935-4a67-83c3-2a03bee4197c"
authors = ["Sebastian Pfitzner <[email protected]> and contributors"]
version = "0.5.0"
version = "0.5.1"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 1 addition & 1 deletion src/MultiDocumenter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function inject_styles_and_global_navigation(
stylesheet.parent = el
push!(el.children, stylesheet)
end
for script in scripts
for script in reverse!(scripts)
script.parent = el
pushfirst!(el.children, script)
end
Expand Down

0 comments on commit 0115123

Please sign in to comment.