Fix Subtitle Uploder navigation in TV mode
This commit is contained in:
@@ -61,7 +61,7 @@ function setFiles(page, files) {
|
||||
reader.onload = (function (theFile) {
|
||||
return function () {
|
||||
// Render file.
|
||||
const html = '<a><span class="material-icons subtitles" aria-hidden="true" style="transform: translateY(25%);"></span><span>' + escape(theFile.name) + '</span><a/>';
|
||||
const html = `<div><span class="material-icons subtitles" aria-hidden="true" style="transform: translateY(25%);"></span><span>${escape(theFile.name)}</span></div>`;
|
||||
|
||||
page.querySelector('#subtitleOutput').innerHTML = html;
|
||||
page.querySelector('#fldUpload').classList.remove('hide');
|
||||
|
||||
Reference in New Issue
Block a user