Skip to content

Commit 0a7ebcc

Browse files
committed
Fix minSearchLength
1 parent d558989 commit 0a7ebcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

isteven-multi-select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,8 @@ angular.module( 'isteven-multi-select', ['ng'] ).directive( 'istevenMultiSelect'
966966
$scope.icon.tickMark = $sce.trustAsHtml( $scope.icon.tickMark );
967967

968968
// min length of keyword to trigger the filter function
969-
if ( typeof attrs.MinSearchLength !== 'undefined' && parseInt( attrs.MinSearchLength ) > 0 ) {
970-
vMinSearchLength = Math.floor( parseInt( attrs.MinSearchLength ) );
969+
if ( typeof attrs.minSearchLength !== 'undefined' && parseInt( attrs.minSearchLength ) > 0 ) {
970+
vMinSearchLength = Math.floor( parseInt( attrs.minSearchLength ) );
971971
}
972972

973973
/*******************************************************

0 commit comments

Comments
 (0)