public/js/multiselect.min.js
function() {

            // Build ul.
            this.$ul = $(this.options.templates.ul);

            if (this.options.dropRight) {
                this.$ul.addClass('pull-right');
            }

            // Set max height of dropdown menu to activate auto scrollbar.
            if (this.options.maxHeight) {
                // TODO: Add a class for this option to move the css declarations.
                this.$ul.css({
                    'max-height': this.options.maxHeight + 'px',
                    'overflow-y': 'auto',
                    'overflow-x': 'hidden'
                });
            }

            this.$container.append(this.$ul);
        }
function() {

            // Build ul.
            this.$ul = $(this.options.templates.ul);

            if (this.options.dropRight) {
                this.$ul.addClass('pull-right');
            }

            // Set max height of dropdown menu to activate auto scrollbar.
            if (this.options.maxHeight) {
                // TODO: Add a class for this option to move the css declarations.
                this.$ul.css({
                    'max-height': this.options.maxHeight + 'px',
                    'overflow-y': 'auto',
                    'overflow-x': 'hidden'
                });
            }

            this.$container.append(this.$ul);
        }
function ( ) { // Build ul. this . $ul = $ ( this . options . templates . ul ) ; if ( this . options . dropRight ) { this . $ul . addClass ( 'pull-right' ) ; } // Set max height of dropdown menu to activate auto scrollbar. if ( this . options . maxHeight ) { // TODO: Add a class for this option to move the css declarations. this . $ul . css ( { 'max-height' : this . options . maxHeight + 'px' , 'overflow-y' : 'auto' , 'overflow-x' : 'hidden' } ) ; } this . $container . append ( this . $ul ) ; }
Builds the ul representing the dropdown menu.
Builds the ul representing the dropdown menu .