Skip to content

Commit 1e422bd

Browse files
authored
Update jquery.multipleInput.js
1 parent c9b394c commit 1e422bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/src/js/jquery.multipleInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
if (tag == 'INPUT' || tag == 'TEXTAREA') {
182182
obj.val(val);
183183
} else if (tag == 'SELECT') {
184-
if (val && val.indexOf('option')) {
184+
if (val && val.indexOf('option') != -1) {
185185
obj.append(val);
186186
} else {
187187
var option = obj.find('option[value="' + val + '"]');

0 commit comments

Comments
 (0)