mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Handle pressing Enter to finish keyboard dragging of slider
This commit is contained in:
parent
c1ef338df1
commit
9024ebea39
1 changed files with 7 additions and 0 deletions
|
@ -501,6 +501,13 @@ function onKeyDown(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
break;
|
break;
|
||||||
|
case 'Enter':
|
||||||
|
if (this.keyboardDragging) {
|
||||||
|
finishKeyboardDragging(this);
|
||||||
|
e.preventDefault();
|
||||||
|
e.stopPropagation();
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue