diff options
Diffstat (limited to 'angular-multi-select.js')
-rw-r--r-- | angular-multi-select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/angular-multi-select.js b/angular-multi-select.js index fd2ca6e..33d5c60 100644 --- a/angular-multi-select.js +++ b/angular-multi-select.js @@ -444,7 +444,7 @@ angular.module( 'multi-select', ['ng'] ).directive( 'multiSelect' , [ '$sce', '$ if ( e.type === 'click' || e.type === 'touchend' && $scope.scrolled === false ) { var checkboxes = document.querySelectorAll( '.checkboxLayer' ); - if ( e.target.className.indexOf === undefined || e.target.className.indexOf( 'multiSelect' ) { + if ( e.target.className.indexOf === undefined || e.target.className.indexOf( 'multiSelect' )) { for( i=0; i < checkboxes.length; i++ ) { checkboxes[i].className = 'multiSelect checkboxLayer hide'; } |