From ec57b8c493545fe8b941d0f96bbdc5a374cfa08e Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Thu, 14 Feb 2019 19:05:09 +0100 Subject: [PATCH] Removed some newlines and manual deuglification --- src/opensubtitles.html | 9 --------- src/scripts/opensubtitles.js | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/opensubtitles.html b/src/opensubtitles.html index 7c9902ea7f..5174a1f1de 100644 --- a/src/opensubtitles.html +++ b/src/opensubtitles.html @@ -1,18 +1,12 @@ 
-
-
-
-
- -
@@ -21,17 +15,14 @@ Register
-
-
${SubtitleDownloadInstructions}
-
diff --git a/src/scripts/opensubtitles.js b/src/scripts/opensubtitles.js index d06f8a44da..99ec982dc1 100644 --- a/src/scripts/opensubtitles.js +++ b/src/scripts/opensubtitles.js @@ -7,8 +7,8 @@ define(["loading", "fnchecked", "emby-linkbutton", "emby-input", "emby-checkbox" loading.hide(); } - function onSubmit(e__q) { - e__q.preventDefault(); + function onSubmit(evt) { + evt.preventDefault(); loading.show(); var form = this; ApiClient.getNamedConfiguration("subtitles").then(function (config) {