fix #1726 (when tabbing to /news for the first time, item is not selected in list)
This commit is contained in:
parent
18e2b65b9c
commit
a8fca7f07a
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ pandora.ui.news = function(width, height) {
|
|||
padding: '4px 8px 5px 8px',
|
||||
borderRadius: '8px',
|
||||
margin: '2px',
|
||||
backgroundColor: item.id == pandora.user.ui.part.news
|
||||
backgroundColor: (item.id == pandora.user.ui.part.news)
|
||||
|| (!pandora.user.ui.part.news && i == 0)
|
||||
? backgroundColor : '',
|
||||
cursor: 'pointer'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue