%PDF- %PDF-
Direktori : /www/loslex/production/node_modules/select2/src/js/select2/dropdown/ |
Current File : /www/loslex/production/node_modules/select2/src/js/select2/dropdown/dropdownCss.js |
define([ '../utils' ], function (Utils) { function DropdownCSS () { } DropdownCSS.prototype.render = function (decorated) { var $dropdown = decorated.call(this); var dropdownCssClass = this.options.get('dropdownCssClass') || ''; if (dropdownCssClass.indexOf(':all:') !== -1) { dropdownCssClass = dropdownCssClass.replace(':all:', ''); Utils.copyNonInternalCssClasses($dropdown[0], this.$element[0]); } $dropdown.addClass(dropdownCssClass); return $dropdown; }; return DropdownCSS; });