Fix Subtitle Uploder navigation in TV mode

This commit is contained in:
Dmitry Lyzo 2022-11-06 00:17:43 +03:00
parent 6a790a19f8
commit 78bbac8ca7
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ function setFiles(page, files) {
reader.onload = (function (theFile) { reader.onload = (function (theFile) {
return function () { return function () {
// Render file. // 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('#subtitleOutput').innerHTML = html;
page.querySelector('#fldUpload').classList.remove('hide'); page.querySelector('#fldUpload').classList.remove('hide');

View File

@ -33,7 +33,7 @@
</label> </label>
</div> </div>
<div class="selectContainer flex-grow"> <div class="selectContainer flex-grow">
<select is="emby-select" id="selectLanguage" required="required" label="${LabelLanguage}" autofocus></select> <select is="emby-select" id="selectLanguage" required="required" label="${LabelLanguage}"></select>
</div> </div>
<button is="emby-button" type="submit" class="raised button-submit block"> <button is="emby-button" type="submit" class="raised button-submit block">
<span>${Upload}</span> <span>${Upload}</span>