bbox: chrome doesnt override video onclick

This commit is contained in:
ed 2022-07-15 22:36:35 +02:00
parent 3692fc9d83
commit 780fc4639a

View file

@ -940,7 +940,7 @@ window.baguetteBox = (function () {
timer.rm(rotn);
var ctime = 0;
el.onclick = function (e) {
el.onclick = v ? null : function (e) {
var rc = e.target.getBoundingClientRect(),
x = e.clientX - rc.left,
fx = x / (rc.right - rc.left);