mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/components/remotecontrol/remotecontrol.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
7a98119b93
commit
4257a401d5
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ export default function () {
|
||||||
|
|
||||||
context.querySelector('.btnPreviousTrack').addEventListener('click', function (e) {
|
context.querySelector('.btnPreviousTrack').addEventListener('click', function (e) {
|
||||||
if (currentPlayer) {
|
if (currentPlayer) {
|
||||||
if ( playbackManager.isPlayingAudio(currentPlayer) ) {
|
if (playbackManager.isPlayingAudio(currentPlayer)) {
|
||||||
// Cancel this event if doubleclick is fired. The actual previousTrack will be processed by the 'dblclick' event
|
// Cancel this event if doubleclick is fired. The actual previousTrack will be processed by the 'dblclick' event
|
||||||
if (e.detail > 1 ) {
|
if (e.detail > 1 ) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue