Skip to content

Commit 42d3ef4

Browse files
committed
use click instead of mousedown so we dont break drag and drop support
1 parent ea14b7c commit 42d3ef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2399,7 +2399,7 @@ the specific language governing permissions and limitations under the Apache Lic
23992399
this.selection = selection = this.container.find(selector);
24002400

24012401
var _this = this;
2402-
this.selection.on("mousedown", ".select2-search-choice", function (e) {
2402+
this.selection.on("click", ".select2-search-choice", function (e) {
24032403
//killEvent(e);
24042404
_this.search[0].focus();
24052405
_this.selectChoice($(this));

0 commit comments

Comments
 (0)