forked from 0x2620/pandora
dont loos videoFormat after signing in
This commit is contained in:
parent
0e8722018b
commit
8750739c4d
1 changed files with 4 additions and 0 deletions
|
@ -917,6 +917,10 @@ pandora.isClipView = function(view, item) {
|
||||||
|
|
||||||
pandora.signin = function(data) {
|
pandora.signin = function(data) {
|
||||||
pandora.user = data.user;
|
pandora.user = data.user;
|
||||||
|
Ox.extend(pandora.user, {
|
||||||
|
sectionElement: 'buttons',
|
||||||
|
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
|
||||||
|
});
|
||||||
pandora.user.ui._list = pandora.getListState(pandora.user.ui.find);
|
pandora.user.ui._list = pandora.getListState(pandora.user.ui.find);
|
||||||
pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find);
|
pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find);
|
||||||
pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find);
|
pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find);
|
||||||
|
|
Loading…
Reference in a new issue