Skip to content

Commit 73c87de

Browse files
committed
Update jquery.selectric.js
Added missing dash between prefix and class name
1 parent 18eba3a commit 73c87de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jquery.selectric.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
classList = 'Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive Above Scroll Group GroupLabel',
66
bindSufix = '.sl',
77
defaults = {
8-
onChange: function(elm) { $(elm).change(); },
8+
onChange: function(elm) { $(elm).change()<input/>; },
99
maxHeight: 300,
1010
keySearchTimeout: 500,
1111
arrowButtonMarkup: '<b class="button">&#x25be;</b>',
@@ -125,7 +125,7 @@
125125
originalWidth = $original.width();
126126

127127
$.each(postfixes, function(i, currClass) {
128-
var c = customClass.prefix + currClass;
128+
var c = customClass.prefix + '-' + currClass;
129129
_this.classes[currClass.toLowerCase()] = customClass.camelCase ? c : _utils.toDash(c);
130130
});
131131

@@ -534,4 +534,4 @@
534534
};
535535

536536
$.fn[pluginName].hooks = hooks;
537-
}(jQuery));
537+
}(jQuery));

0 commit comments

Comments
 (0)