mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
refactor: Use same name for action (mode) attribute
This commit is contained in:
parent
f94b64ad99
commit
8221f82d1f
2 changed files with 3 additions and 3 deletions
|
@ -13,13 +13,13 @@
|
|||
</div>
|
||||
|
||||
<div class="mainDetailButtons focuscontainer-x">
|
||||
<button is="emby-button" type="button" class="button-flat btnResume hide detailButton" title="${ButtonResume}" data-mode="resume">
|
||||
<button is="emby-button" type="button" class="button-flat btnResume hide detailButton" title="${ButtonResume}" data-action="resume">
|
||||
<div class="detailButton-content">
|
||||
<span class="material-icons detailButton-icon play_arrow"></span>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
<button is="emby-button" type="button" class="button-flat btnPlay hide detailButton" title="${Play}" data-mode="play">
|
||||
<button is="emby-button" type="button" class="button-flat btnPlay hide detailButton" title="${Play}" data-action="play">
|
||||
<div class="detailButton-content">
|
||||
<span class="material-icons detailButton-icon play_arrow"></span>
|
||||
</div>
|
||||
|
|
|
@ -1973,7 +1973,7 @@ export default function (view, params) {
|
|||
}
|
||||
|
||||
function onPlayClick() {
|
||||
playCurrentItem(this, this.getAttribute('data-mode'));
|
||||
playCurrentItem(this, this.getAttribute('data-action'));
|
||||
}
|
||||
|
||||
function onPosterClick(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue