mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reduce jqm script
This commit is contained in:
parent
d50ec10bde
commit
413a255477
4 changed files with 115 additions and 1179 deletions
|
@ -274,9 +274,9 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var page = $(this).parents('#addPluginPage');
|
||||
var page = $(this).parents('#addPluginPage')[0];
|
||||
|
||||
$('#btnInstall', page).buttonEnabled(false);
|
||||
page.querySelector('#btnInstall').disabled = true;
|
||||
|
||||
var name = getParameterByName('name');
|
||||
var guid = getParameterByName('guid');
|
||||
|
|
|
@ -1971,6 +1971,7 @@ var AppInfo = {};
|
|||
|
||||
define("jstree", [bowerPath + "/jstree/dist/jstree.min", "css!thirdparty/jstree/themes/default/style.min.css"]);
|
||||
|
||||
define('jqm', ['thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js']);
|
||||
define("jqmbase", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css']);
|
||||
define("jqmicons", ['jqmbase', 'css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css']);
|
||||
define("jqmtable", ['jqmbase', "thirdparty/jquerymobile-1.4.5/jqm.table", 'css!thirdparty/jquerymobile-1.4.5/jqm.table.css']);
|
||||
|
@ -2215,7 +2216,7 @@ var AppInfo = {};
|
|||
deps.push('emby-icons');
|
||||
deps.push('paper-icon-button');
|
||||
deps.push('paper-button');
|
||||
deps.push('thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js');
|
||||
deps.push('jqm');
|
||||
promises.push(getRequirePromise(deps));
|
||||
|
||||
promises.push(Globalize.ensure());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue