forked from 0x2620/pandora
use Ox.getVideoFormat instead of Ox.UI.getVideoFormat
This commit is contained in:
parent
6f1ef4cffd
commit
15be34955e
3 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ Ox.load('UI', {
|
|||
}
|
||||
}
|
||||
Ox.extend(pandora.user, {
|
||||
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
|
||||
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
|
||||
});
|
||||
var options = parseQuery();
|
||||
if (['video', 'player'].indexOf(options.view) > -1) {
|
||||
|
|
|
@ -315,7 +315,7 @@ appPanel
|
|||
|
||||
Ox.extend(pandora.user, {
|
||||
sectionElement: 'buttons',
|
||||
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
|
||||
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
|
||||
});
|
||||
|
||||
// set locale and initialize url controller
|
||||
|
|
|
@ -1266,7 +1266,7 @@ pandora.signin = function(data) {
|
|||
// fixme: this is still voodoo
|
||||
pandora.user = Ox.extend(data.user, {
|
||||
sectionElement: 'buttons',
|
||||
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
|
||||
videoFormat: Ox.getVideoFormat(pandora.site.video.formats)
|
||||
});
|
||||
pandora.user.ui._list = pandora.getListState(pandora.user.ui.find);
|
||||
pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find);
|
||||
|
|
Loading…
Reference in a new issue