Ox.Element: on mousedown, unconditionally trigger mousedown

This commit is contained in:
rolux 2013-12-01 15:41:51 +01:00
parent 031aa4367b
commit ead592d063

View file

@ -120,9 +120,9 @@ Ox.Element = function(options, self) {
var clientX, clientY,
dragTimeout = 0,
mouseInterval = 0;
that.triggerEvent('mousedown', e);
if (!self._mouseTimeout) {
// first mousedown
that.triggerEvent('mousedown', e);
self._drag = false;
self._mouseup = false;
self._mouseTimeout = setTimeout(function() {