From bd1a12b681d5f747509538dcb9ec50ffc464d167 Mon Sep 17 00:00:00 2001 From: Tim Oxley Date: Wed, 31 Oct 2012 15:54:53 +1000 Subject: [PATCH] use mousedown events over click --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8a7d90b..6a0ea1c 100644 --- a/index.js +++ b/index.js @@ -60,7 +60,7 @@ function Dropdown(ref, opts) { if (this.options.select) this.focus(this.options.select); } - this.ref.click(this.onClick.bind(this)); + this.ref.mousedown(this.onClick.bind(this)); this.on('select', this.focus.bind(this)); // reference element class handler