1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update action sheet

This commit is contained in:
Luke Pulverenti 2016-01-30 23:04:00 -05:00
parent 79b9a76c6b
commit c959aa01a2
22 changed files with 123 additions and 153 deletions

View file

@ -121,9 +121,9 @@
return opt;
});
require(['actionsheet'], function () {
require(['actionsheet'], function (actionsheet) {
ActionSheetElement.show({
actionsheet.show({
items: menuItems,
positionTo: $('.videoSubtitleButton')[0],
callback: function (id) {
@ -140,7 +140,7 @@
self.showQualityFlyout = function () {
require(['qualityoptions', 'actionsheet'], function (qualityoptions) {
require(['qualityoptions', 'actionsheet'], function (qualityoptions, actionsheet) {
var currentSrc = self.getCurrentSrc(self.currentMediaRenderer).toLowerCase();
var isStatic = currentSrc.indexOf('static=true') != -1;
@ -174,7 +174,7 @@
return o.selected;
});
selectedId = selectedId.length ? selectedId[0].bitrate : null;
ActionSheetElement.show({
actionsheet.show({
items: menuItems,
positionTo: $('.videoQualityButton')[0],
callback: function (id) {
@ -236,9 +236,9 @@
return opt;
});
require(['actionsheet'], function () {
require(['actionsheet'], function (actionsheet) {
ActionSheetElement.show({
actionsheet.show({
items: menuItems,
positionTo: $('.videoAudioButton')[0],
callback: function (id) {