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) {