mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add subtitle fix for tizen
This commit is contained in:
parent
220c6197b6
commit
374a543064
14 changed files with 44 additions and 129 deletions
|
@ -1368,7 +1368,6 @@ var AppInfo = {};
|
|||
define('arraypolyfills', [embyWebComponentsBowerPath + '/polyfills/array']);
|
||||
define('objectassign', [embyWebComponentsBowerPath + '/polyfills/objectassign']);
|
||||
|
||||
define('native-promise-only', [bowerPath + '/native-promise-only/lib/npo.src']);
|
||||
define("clearButtonStyle", ['css!' + embyWebComponentsBowerPath + '/clearbutton']);
|
||||
define("userdataButtons", [embyWebComponentsBowerPath + "/userdatabuttons/userdatabuttons"], returnFirstDependency);
|
||||
define("listView", [embyWebComponentsBowerPath + "/listview/listview"], returnFirstDependency);
|
||||
|
@ -2792,29 +2791,24 @@ var AppInfo = {};
|
|||
|
||||
initRequire();
|
||||
|
||||
function onWebComponentsReady() {
|
||||
function onWebComponentsReady(browser) {
|
||||
|
||||
var initialDependencies = [];
|
||||
|
||||
initialDependencies.push('browser');
|
||||
|
||||
if (!window.Promise) {
|
||||
initialDependencies.push('native-promise-only');
|
||||
if (!window.Promise || browser.web0s) {
|
||||
initialDependencies.push('bower_components/emby-webcomponents/native-promise-only/lib/npo.src');
|
||||
}
|
||||
|
||||
require(initialDependencies, function (browser) {
|
||||
initRequireWithBrowser(browser);
|
||||
|
||||
initRequireWithBrowser(browser);
|
||||
window.browserInfo = browser;
|
||||
setAppInfo();
|
||||
setDocumentClasses(browser);
|
||||
|
||||
window.browserInfo = browser;
|
||||
setAppInfo();
|
||||
setDocumentClasses(browser);
|
||||
|
||||
init();
|
||||
});
|
||||
require(initialDependencies, init);
|
||||
}
|
||||
|
||||
onWebComponentsReady();
|
||||
require(['browser'], onWebComponentsReady);
|
||||
})();
|
||||
|
||||
function pageClassOn(eventName, className, fn) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue