1
0
Fork 0
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:
Luke Pulverenti 2016-01-26 13:19:17 -05:00
parent 62205cac21
commit b5fcdbe543

View file

@ -192,6 +192,12 @@
return menuItem;
});
alert(currentIndex);
menuItems.unshift({
id: -1,
name: Globalize.translate('ButtonOff'),
ironIcon: currentIndex == null ? 'check' : null
});
require(['actionsheet'], function () {
@ -848,8 +854,8 @@
} else {
// 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;
}, 1000);
}