Update main.js

This commit is contained in:
Kyle
2020-05-27 15:37:09 -07:00
parent 8554cca498
commit 946d57d94c

View File

@@ -884,3 +884,13 @@ function textCodeReference() {
//Must run last: //Must run last:
initialize() initialize()
//Redundant
function loadScript(scriptPath){
var script = document.createElement('script')
script.setAttribute('type','text/javascript')
script.setAttribute('src', scriptPath)
if (typeof script != 'undefined') {
document.getElementsByTagName('head')[0].appendChild(script)
}
}