forked from 0x2620/pandora
fix loading pandora with strange extensions installed
This commit is contained in:
parent
d7d5008bbb
commit
5cf198a8ad
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ appPanel
|
|||
var i, path, scripts = document.getElementsByTagName('script');
|
||||
for (i = 0;i < scripts.length; i++) {
|
||||
if(/pandora.js/.test(scripts[i].src)) {
|
||||
return scripts[1].src.replace(/.*\?/, '');
|
||||
return scripts[i].src.replace(/.*\?/, '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue