forked from 0x2620/oxjs
fix a resizing bug in the video editor demo
This commit is contained in:
parent
a1deb20f97
commit
67c154547c
4 changed files with 36 additions and 16 deletions
|
|
@ -128,7 +128,6 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
|
||||
function getPosition(e) {
|
||||
//FIXME: this might still be broken in opera according to http://acko.net/blog/mouse-handling-and-absolute-positions-in-javascript
|
||||
Ox.print('offsetX', e.offsetX)
|
||||
return (e.offsetX ? e.offsetX : e.clientX - $(e.target).offset().left);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue