Skip to content

Commit 06440a6

Browse files
committed
MultiSelect JavaScript error - no method 'showSearch'. fixes select2#1311
1 parent de6d90c commit 06440a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ the specific language governing permissions and limitations under the Apache Lic
15121512
} else {
15131513
render("");
15141514
}
1515-
if (initial) this.showSearch(true);
1515+
if (initial && this.showSearch) this.showSearch(true);
15161516
return;
15171517
}
15181518

0 commit comments

Comments
 (0)