mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
23677db990
This de-minifies and de-uglifies `controllers` subdirectory
19 lines
471 B
JavaScript
19 lines
471 B
JavaScript
define(["loading"], function (loading) {
|
|
"use strict";
|
|
|
|
function onFinish() {
|
|
loading.show();
|
|
ApiClient.ajax({
|
|
url: ApiClient.getUrl("Startup/Complete"),
|
|
type: "POST"
|
|
}).then(function () {
|
|
loading.hide();
|
|
window.location.href = "index.html";
|
|
});
|
|
}
|
|
|
|
return function (view, params) {
|
|
view.querySelector(".btnWizardNext").addEventListener("click", onFinish);
|
|
};
|
|
});
|