From ead592d06304ce7dd60153df1d426136df5e23be Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 1 Dec 2013 15:41:51 +0100 Subject: [PATCH] Ox.Element: on mousedown, unconditionally trigger mousedown --- source/Ox.UI/js/Core/Element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/Element.js b/source/Ox.UI/js/Core/Element.js index 982fcbbc..a3b38ec4 100644 --- a/source/Ox.UI/js/Core/Element.js +++ b/source/Ox.UI/js/Core/Element.js @@ -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() {