1
0
mirror of synced 2025-02-04 06:09:23 +03:00

use click instead of mousedown so we dont break drag and drop support

This commit is contained in:
Igor Vaynberg 2013-07-03 15:18:01 -07:00
parent ea14b7c30d
commit 42d3ef4405

View File

@ -2399,7 +2399,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.selection = selection = this.container.find(selector);
var _this = this;
this.selection.on("mousedown", ".select2-search-choice", function (e) {
this.selection.on("click", ".select2-search-choice", function (e) {
//killEvent(e);
_this.search[0].focus();
_this.selectChoice($(this));