Update src/controllers/videoosd.js

Co-Authored-By: DrPandemic <DrPandemic@users.noreply.github.com>
This commit is contained in:
Claus Vium 2019-04-26 08:46:01 -04:00 committed by DrPandemic
parent 9c4517957a
commit bca2b35d49
No known key found for this signature in database
GPG Key ID: B6A2F8AEC8AD2825

View File

@ -1255,11 +1255,8 @@ 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
});
var options = { passive: true };
dom.addEventListener(view, "dblclick", function () { playbackManager.toggleFullscreen(currentPlayer); }, options);
}
view.querySelector(".buttonMute").addEventListener("click", function () {