fix external-script not inserting script at right place
This commit is contained in:
parent
de0ad0f04c
commit
92070e3099
3 changed files with 3 additions and 3 deletions
|
|
@ -9,8 +9,8 @@ function handleExternalScript () {
|
|||
newScript[attribute] = script[attribute]
|
||||
})
|
||||
|
||||
script.parentNode.insertBefore(newScript, script)
|
||||
script.parentNode.removeChild(script)
|
||||
container.appendChild(newScript)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue