Set chapter mark icon via CSS instead of class.
Allows easier customisation of what icon should be displayed.
This commit is contained in:
parent
49f1f1fae3
commit
c0b092e208
2 changed files with 6 additions and 1 deletions
|
@ -178,7 +178,7 @@ import '../emby-input/emby-input';
|
|||
range.chapterFractions = range.getChapterFractions();
|
||||
}
|
||||
|
||||
const htmlToInsert = '<span class="material-icons label sliderChapterMark" aria-hidden="true"></span>';
|
||||
const htmlToInsert = '<span class="material-icons sliderChapterMark" aria-hidden="true"></span>';
|
||||
|
||||
range.chapterFractions.forEach(() => {
|
||||
range.chapterMarkContainerElement.insertAdjacentHTML('beforeend', htmlToInsert);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue