1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

refactor: Use span for icons

This commit is contained in:
Dmitry Lyzo 2022-02-24 21:04:33 +03:00
parent a42053563d
commit 27bdb24598
5 changed files with 6 additions and 6 deletions

View file

@ -144,7 +144,7 @@ export class ComicsPlayer {
elem.innerHTML = `<div class="slideshowSwiperContainer"><div class="swiper-wrapper"></div></div>
<div class="actionButtons">
<button is="paper-icon-button-light" class="autoSize btnExit" tabindex="-1"><i class="material-icons actionButtonIcon close"></i></button>
<button is="paper-icon-button-light" class="autoSize btnExit" tabindex="-1"><span class="material-icons actionButtonIcon close"></span></button>
</div>`;
dialogHelper.open(elem);

View file

@ -171,7 +171,7 @@ export class PdfPlayer {
let html = '';
html += '<canvas id="canvas"></canvas>';
html += '<div class="actionButtons">';
html += '<button is="paper-icon-button-light" class="autoSize btnExit" tabindex="-1"><i class="material-icons actionButtonIcon close"></i></button>';
html += '<button is="paper-icon-button-light" class="autoSize btnExit" tabindex="-1"><span class="material-icons actionButtonIcon close"></span></button>';
html += '</div>';
elem.id = 'pdfPlayer';