File tree Expand file tree Collapse file tree 3 files changed +2
-0
lines changed Expand file tree Collapse file tree 3 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3912,6 +3912,7 @@ const EasyCoder = {
3912
3912
loadPluginJs : function ( path ) {
3913
3913
console . log ( `${ Date . now ( ) - this . timestamp } ms: Load ${ path } /easycoder/plugins.js` ) ;
3914
3914
const script = document . createElement ( `script` ) ;
3915
+ let location = document . scripts [ 0 ] . src ;
3915
3916
script . src = `${ window . location . origin } ${ path } /easycoder/plugins.js?ver=${ this . version } ` ;
3916
3917
script . type = `text/javascript` ;
3917
3918
script . onload = ( ) => {
Original file line number Diff line number Diff line change @@ -421,6 +421,7 @@ const EasyCoder = {
421
421
loadPluginJs : function ( path ) {
422
422
console . log ( `${ Date . now ( ) - this . timestamp } ms: Load ${ path } /easycoder/plugins.js` ) ;
423
423
const script = document . createElement ( `script` ) ;
424
+ let location = document . scripts [ 0 ] . src ;
424
425
script . src = `${ window . location . origin } ${ path } /easycoder/plugins.js?ver=${ this . version } ` ;
425
426
script . type = `text/javascript` ;
426
427
script . onload = ( ) => {
You can’t perform that action at this time.
0 commit comments