Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #351 from turbolinks/ensure-script-order
Browse files Browse the repository at this point in the history
Ensure new <script>s are loaded in order when navigating
  • Loading branch information
javan committed Jan 8, 2018
2 parents 583df0a + dc5cbd1 commit 075ed0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/turbolinks/renderer.coffee
Expand Up @@ -19,6 +19,7 @@ class Turbolinks.Renderer
else
createdScriptElement = document.createElement("script")
createdScriptElement.textContent = element.textContent
createdScriptElement.async = false
copyElementAttributes(createdScriptElement, element)
createdScriptElement

Expand Down

0 comments on commit 075ed0d

Please sign in to comment.