mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Add double click to fullscreen
This commit is contained in:
parent
df3d3bc7d3
commit
9c4517957a
@ -1254,6 +1254,12 @@ define(["playbackManager", "dom", "inputmanager", "datetime", "itemHelper", "med
|
||||
|
||||
if (browser.touch) {
|
||||
dom.addEventListener(view, "dblclick", onDoubleClick, {});
|
||||
} else {
|
||||
dom.addEventListener(view, "dblclick", function () {
|
||||
playbackManager.toggleFullscreen(currentPlayer);
|
||||
}, {
|
||||
passive: true
|
||||
});
|
||||
}
|
||||
|
||||
view.querySelector(".buttonMute").addEventListener("click", function () {
|
||||
|
Loading…
Reference in New Issue
Block a user