From ed964137fa4bdc5bdd569fd8c2a2987282b3bb69 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sat, 31 Oct 2020 19:05:35 +0300 Subject: [PATCH] Remove external link in Subtitle Editor --- src/components/subtitleeditor/subtitleeditor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/subtitleeditor/subtitleeditor.js b/src/components/subtitleeditor/subtitleeditor.js index 8697a9a74..0eb455476 100644 --- a/src/components/subtitleeditor/subtitleeditor.js +++ b/src/components/subtitleeditor/subtitleeditor.js @@ -384,6 +384,9 @@ function showEditorInternal(itemId, serverId, template) { if (layoutManager.tv) { centerFocus(dlg.querySelector('.formDialogContent'), false, true); dlg.querySelector('.btnSearchSubtitles').classList.add('hide'); + + // Don't allow redirection to other websites from the TV layout + dlg.querySelector('.btnHelp').remove(); } else { btnSubmit.classList.add('hide'); }