diff --git a/jquery.selectBox.js b/jquery.selectBox.js index e4c7b8f..7b90930 100755 --- a/jquery.selectBox.js +++ b/jquery.selectBox.js @@ -548,7 +548,7 @@ $(document).bind('mousedown.selectBox', function (event) { if (1 === event.which) { - if ($(event.target).parents().andSelf().hasClass('selectBox-options')) { + if ($(event.target).parents().addBack().hasClass('selectBox-options')) { return; } self.hideMenus();