forked from 0x2620/pandora
ui.onload -> user.script, fixes #2697
This commit is contained in:
parent
fa376dd188
commit
90a49b2a4d
9 changed files with 112 additions and 9 deletions
|
|
@ -1970,9 +1970,9 @@ pandora.isVideoView = function(view, item) {
|
|||
};
|
||||
|
||||
pandora.loadUserScript = function() {
|
||||
if (pandora.user.ui.onload) {
|
||||
if (pandora.user.script) {
|
||||
try {
|
||||
eval(pandora.user.ui.onload);
|
||||
eval(pandora.user.script);
|
||||
} catch(e) {
|
||||
Ox.print('user onload script error', e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue