forked from 0x2620/pandora
add onload hook
This commit is contained in:
parent
fd24ccd35b
commit
2b38d61df8
1 changed files with 6 additions and 0 deletions
|
@ -326,6 +326,12 @@ appPanel
|
|||
});
|
||||
pandora.site.sectionButtonsWidth = pandora.$ui.sectionButtons.width() + 8;
|
||||
|
||||
if(localStorage && localStorage['pandora.onload']) {
|
||||
try {
|
||||
eval(localStorage['pandora.onload'])
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue