This commit is contained in:
parent
ae8891bf00
commit
e39fa2c908
|
@ -6914,6 +6914,9 @@
|
||||||
else{
|
else{
|
||||||
var script=document.createElement('script');
|
var script=document.createElement('script');
|
||||||
script.src = path+'/'+file+".js";
|
script.src = path+'/'+file+".js";
|
||||||
|
if(path.indexOf('http')==0){
|
||||||
|
script.src+='?rand='+get.id();
|
||||||
|
}
|
||||||
document.head.appendChild(script);
|
document.head.appendChild(script);
|
||||||
if(typeof onload=='function'){
|
if(typeof onload=='function'){
|
||||||
script.addEventListener('load',onload);
|
script.addEventListener('load',onload);
|
||||||
|
|
Loading…
Reference in New Issue