src/javascripts/modules/jquery.selectBoxIt.core.js
function() {

                    if(nativeMousedown && !customShowHideEvent) {

                        self._update($(this));

                        self.triggerEvent("option-mouseup");

                        // If the current drop down option is not disabled
                        if ($(this).attr("data-disabled") === "false" && $(this).attr("data-preventclose") !== "true") {

                            // Closes the drop down list
                            self.close();

                        }

                    }

                }
function() {

                    if(nativeMousedown && !customShowHideEvent) {

                        self._update($(this));

                        self.triggerEvent("option-mouseup");

                        // If the current drop down option is not disabled
                        if ($(this).attr("data-disabled") === "false" && $(this).attr("data-preventclose") !== "true") {

                            // Closes the drop down list
                            self.close();

                        }

                    }

                }
function ( ) { if ( nativeMousedown && ! customShowHideEvent ) { self . _update ( $ ( this ) ) ; self . triggerEvent ( "option-mouseup" ) ; // If the current drop down option is not disabled if ( $ ( this ) . attr ( "data-disabled" ) === "false" && $ ( this ) . attr ( "data-preventclose" ) !== "true" ) { // Closes the drop down list self . close ( ) ; } } }
Delegates the `focus` event with the `selectBoxIt` namespace to the list items
Delegates the focus event with the selectBoxIt namespace to the list items