forked from 0x2620/pandora
don't throw on place deselect (data is now null, not {})
This commit is contained in:
parent
3c1fc9690e
commit
ae9d2768c9
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
||||||
updateStatusbar(0);
|
updateStatusbar(0);
|
||||||
|
|
||||||
function selectItem(data) {
|
function selectItem(data) {
|
||||||
var id = data.id || '';
|
var id = data ? data.id : '';
|
||||||
if (id && id[0] != '_') {
|
if (id && id[0] != '_') {
|
||||||
$status.html(Ox._('Loading...'));
|
$status.html(Ox._('Loading...'));
|
||||||
$list.options({
|
$list.options({
|
||||||
|
|
Loading…
Reference in a new issue