mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add Off to subtitle selection
This commit is contained in:
parent
62205cac21
commit
b5fcdbe543
1 changed files with 8 additions and 2 deletions
|
@ -192,6 +192,12 @@
|
||||||
|
|
||||||
return menuItem;
|
return menuItem;
|
||||||
});
|
});
|
||||||
|
alert(currentIndex);
|
||||||
|
menuItems.unshift({
|
||||||
|
id: -1,
|
||||||
|
name: Globalize.translate('ButtonOff'),
|
||||||
|
ironIcon: currentIndex == null ? 'check' : null
|
||||||
|
});
|
||||||
|
|
||||||
require(['actionsheet'], function () {
|
require(['actionsheet'], function () {
|
||||||
|
|
||||||
|
@ -848,8 +854,8 @@
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// hack alert. doing this because the neon elements don't seem to be initialized yet
|
// hack alert. doing this because the neon elements don't seem to be initialized yet
|
||||||
setTimeout(function() {
|
setTimeout(function () {
|
||||||
|
|
||||||
page.querySelector('neon-animated-pages').selected = selected;
|
page.querySelector('neon-animated-pages').selected = selected;
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue