use jquery .live on drag to also get elements added after drag started
This commit is contained in:
parent
c6c3452853
commit
c0eff8edf3
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ Ox.Element = function(options, self) {
|
||||||
});
|
});
|
||||||
// trigger dragstart, set up drag events
|
// trigger dragstart, set up drag events
|
||||||
that.triggerEvent('dragstart', e);
|
that.triggerEvent('dragstart', e);
|
||||||
$('.OxElement').on({
|
$('.OxElement').live({
|
||||||
mouseenter: dragenter,
|
mouseenter: dragenter,
|
||||||
mouseleave: dragleave
|
mouseleave: dragleave
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue