fixing some video editor bugs (focus, markers)

This commit is contained in:
rolux 2011-05-19 15:09:59 +02:00
commit 78a4229689
3 changed files with 10 additions and 16 deletions

View file

@ -136,8 +136,9 @@ Ox.VideoEditor = function(options, self) {
self.$editor = new Ox.Element()
.addClass('OxVideoEditor')
.click(function() {
that.gainFocus()
.click(function(e) {
var $target = $(e.target);
!$target.is('.OxPosition') && !$target.is('input') && that.gainFocus();
});
self.sizes = getSizes();