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:
parent
79b9a76c6b
commit
c959aa01a2
22 changed files with 123 additions and 153 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue