fix scale button glitch

This commit is contained in:
rolux 2011-05-15 20:52:57 +02:00
parent 275dcbb356
commit 9379599aeb

View file

@ -426,7 +426,9 @@ Ox.VideoPlayer = function(options, self) {
type: 'image' type: 'image'
}) })
.css({float: 'left'}) .css({float: 'left'})
.bindEvent('click', toggleScale) .bindEvent('click', function() {
toggleScale();
})
.appendTo(self.$controls); .appendTo(self.$controls);
} else if (control == 'fullscreen') { } else if (control == 'fullscreen') {