Skip to content

Commit 853e738

Browse files
author
Eugene Tupikov
committed
Merge branch 'thiagotalma-patch-1'
2 parents c9b394c + 9017efa commit 853e738

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 + '"]');

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)