Remove external link in Subtitle Editor

This commit is contained in:
Dmitry Lyzo 2020-10-31 19:05:35 +03:00
parent b09fd1b099
commit ed964137fa

View file

@ -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');
}