Skip to content

Commit 8911d26

Browse files
authored
Merge pull request #545 from sssats/master
Fix minSearchLength
2 parents a6c9c8e + 0a7ebcc commit 8911d26

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)