From 78bbac8ca7bd2d4a40a2dae58ca5655ad8b92e11 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sun, 6 Nov 2022 00:17:43 +0300 Subject: [PATCH] Fix Subtitle Uploder navigation in TV mode --- src/components/subtitleuploader/subtitleuploader.js | 2 +- src/components/subtitleuploader/subtitleuploader.template.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/subtitleuploader/subtitleuploader.js b/src/components/subtitleuploader/subtitleuploader.js index a4a7d2d8d6..504342c0d8 100644 --- a/src/components/subtitleuploader/subtitleuploader.js +++ b/src/components/subtitleuploader/subtitleuploader.js @@ -61,7 +61,7 @@ function setFiles(page, files) { reader.onload = (function (theFile) { return function () { // Render file. - const html = '' + escape(theFile.name) + ''; + const html = `
${escape(theFile.name)}
`; page.querySelector('#subtitleOutput').innerHTML = html; page.querySelector('#fldUpload').classList.remove('hide'); diff --git a/src/components/subtitleuploader/subtitleuploader.template.html b/src/components/subtitleuploader/subtitleuploader.template.html index a695b0a17b..ba43e00411 100644 --- a/src/components/subtitleuploader/subtitleuploader.template.html +++ b/src/components/subtitleuploader/subtitleuploader.template.html @@ -33,7 +33,7 @@
- +