update sort menu
This commit is contained in:
parent
73f153405c
commit
22bf2c2268
5 changed files with 9 additions and 27 deletions
|
@ -400,14 +400,11 @@
|
|||
|
||||
function getExternalPlayers(url, mimeType) {
|
||||
|
||||
var deferred = $.Deferred();
|
||||
|
||||
var players = [
|
||||
{ name: 'Vlc', url: 'vlc://' + url, id: 'vlc' }
|
||||
];
|
||||
deferred.resolveWith(null, [players]);
|
||||
|
||||
return deferred.promise();
|
||||
return Promise.resolve(players);
|
||||
}
|
||||
|
||||
function showPlayerSelectionMenu(item, url, mimeType) {
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
options.Limit = screenWidth >= 1920 ? 10 : (screenWidth >= 1440 ? 8 : 6);
|
||||
|
||||
if (enableScrollX()) {
|
||||
options.Limit = 12;
|
||||
options.Limit = 16;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2947,7 +2947,11 @@
|
|||
dlg.innerHTML = html;
|
||||
document.body.appendChild(dlg);
|
||||
|
||||
paperDialogHelper.open(dlg);
|
||||
// Seeing an issue in Firefox and IE where it's initially visible in the bottom right, then moves to the center
|
||||
var delay = browserInfo.animate ? 0 : 100;
|
||||
setTimeout(function() {
|
||||
paperDialogHelper.open(dlg);
|
||||
}, delay);
|
||||
|
||||
$('.groupSortBy', dlg).on('iron-select', function () {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue