Skip to content

Commit 0115123

Browse files
committed
fix custom_script ordering
1 parent ee55a0d commit 0115123

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MultiDocumenter"
22
uuid = "87ed4bf0-c935-4a67-83c3-2a03bee4197c"
33
authors = ["Sebastian Pfitzner <[email protected]> and contributors"]
4-
version = "0.5.0"
4+
version = "0.5.1"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

src/MultiDocumenter.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function inject_styles_and_global_navigation(
325325
stylesheet.parent = el
326326
push!(el.children, stylesheet)
327327
end
328-
for script in scripts
328+
for script in reverse!(scripts)
329329
script.parent = el
330330
pushfirst!(el.children, script)
331331
end

0 commit comments

Comments
 (0)