From a1c82cb2621bcd3a9f63e39742462833fdd4e1ee Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 22 Apr 2012 10:16:07 +0000 Subject: [PATCH] don't trigger 'censored' event on doubleclick --- source/Ox.UI/js/Video/Ox.VideoPlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index e6842b59..f1228f1d 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -452,7 +452,7 @@ Ox.VideoPlayer = function(options, self) { }) .hide() .bindEvent({ - anyclick: function() { + singleclick: function() { that.triggerEvent('censored'); } })