From 9379599aeb6b7689da4b6c70e8edde396e01647c Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 15 May 2011 20:52:57 +0200 Subject: [PATCH] fix scale button glitch --- source/Ox.UI/js/Video/Ox.VideoPlayer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 7e02e999..70e91a6c 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -426,7 +426,9 @@ Ox.VideoPlayer = function(options, self) { type: 'image' }) .css({float: 'left'}) - .bindEvent('click', toggleScale) + .bindEvent('click', function() { + toggleScale(); + }) .appendTo(self.$controls); } else if (control == 'fullscreen') {