forked from 0x2620/pandora
enable timeline type in timeline list view
This commit is contained in:
parent
1f6abbe32f
commit
7f95c0ce6c
1 changed files with 9 additions and 1 deletions
|
@ -554,7 +554,7 @@ pandora.ui.list = function() {
|
|||
|
||||
}
|
||||
|
||||
if (['list', 'grid', 'timelines'].indexOf(pandora.user.ui.listView) > -1) {
|
||||
if (['list', 'grid', 'timelines'].indexOf(view) > -1) {
|
||||
that.bindEvent({
|
||||
pandora_icons: function(data) {
|
||||
var src, previousSrc;
|
||||
|
@ -584,6 +584,14 @@ pandora.ui.list = function() {
|
|||
});
|
||||
}
|
||||
|
||||
if (view == 'timelines') {
|
||||
that.bindEvent({
|
||||
pandora_videotimeline: function(data) {
|
||||
that.reloadList(true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function hasIcons() {
|
||||
return (
|
||||
pandora.user.ui.listView == 'list'
|
||||
|
|
Loading…
Reference in a new issue