1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Force the use of single quotes

This commit is contained in:
MrTimscampi 2020-05-04 12:44:12 +02:00
parent 8b6dc05d64
commit 9e3ca706c4
217 changed files with 8541 additions and 8540 deletions

View file

@ -1,18 +1,18 @@
define(["loading"], function (loading) {
"use strict";
define(['loading'], function (loading) {
'use strict';
function onFinish() {
loading.show();
ApiClient.ajax({
url: ApiClient.getUrl("Startup/Complete"),
type: "POST"
url: ApiClient.getUrl('Startup/Complete'),
type: 'POST'
}).then(function () {
loading.hide();
window.location.href = "index.html";
window.location.href = 'index.html';
});
}
return function (view, params) {
view.querySelector(".btnWizardNext").addEventListener("click", onFinish);
view.querySelector('.btnWizardNext').addEventListener('click', onFinish);
};
});