Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit bd3dbe3

Browse files
committed
Change comparison to angular.equals()
1 parent ba46179 commit bd3dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uiSelectMultipleDirective.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ uis.directive('uiSelectMultiple', ['uiSelectMinErr','$timeout', function(uiSelec
9090
return true;
9191
}
9292
}
93-
if (result == value){
93+
if (angular.equals(result,value)){
9494
resultMultiple.unshift(list[p]);
9595
return true;
9696
}

0 commit comments

Comments
 (0)