Skip to content

Commit

Permalink
Merge pull request selectize#62 from KorvinSzanto/master
Browse files Browse the repository at this point in the history
Fix selectize#61 in osx
  • Loading branch information
brianreavis committed Aug 6, 2013
2 parents 861b03c + b8d608c commit 6fbc64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ $.extend(Selectize.prototype, {
mousedown: function(e) {
if (self.isFocused) {
// prevent events on the dropdown scrollbar from causing the control to blur
if (e.target === self.$dropdown[0]) {
if (e.target === self.$dropdown[0] || e.target.parentNode === self.$dropdown[0]) {
var ignoreFocus = self.ignoreFocus;
self.ignoreFocus = true;
window.setTimeout(function() {
Expand Down

0 comments on commit 6fbc64c

Please sign in to comment.