Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1134229 - merge pull request #28291 from hfiguiere:bug1134229-pla…
Browse files Browse the repository at this point in the history
…ylist-order to mozilla-b2g:master
  • Loading branch information
mozilla-autolander-deprecated committed Feb 26, 2015
2 parents 3affd59 + 1143c4b commit 1ff734d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/music/js/ui/views/list_view.js
Expand Up @@ -348,11 +348,11 @@ var ListView = {
var data = this.dataSource[index];
var keyRange = (target.dataset.keyRange != 'all') ?
IDBKeyRange.only(target.dataset.keyRange) : null;
var title = data.metadata.title;
var l10nId = data.metadata.l10nId;
var direction =
(title === navigator.mozL10n.get('playlists-most-played')||
title === navigator.mozL10n.get('playlists-recently-added') ||
title === navigator.mozL10n.get('playlists-highest-rated')) ?
(l10nId === 'playlists-most-played' ||
l10nId === 'playlists-recently-added' ||
l10nId === 'playlists-highest-rated') ?
'prev' : 'next';

SubListView.activate(
Expand Down

0 comments on commit 1ff734d

Please sign in to comment.