mirror of
https://github.com/9001/copyparty.git
synced 2026-03-15 20:53:06 +10:00
bbox: chrome doesnt override video onclick
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user