Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #101
  • Loading branch information
alexandernst committed Jun 11, 2016
1 parent 8453926 commit 4e82422
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/angular-multi-select.js
Expand Up @@ -340,7 +340,9 @@ angular_multi_select.directive('angularMultiSelect', [
* Get the visible tree only once. Consecutive calls on un/check
* will automatically propagate to the rendered tree.
*/
$scope.items = amse.get_visible_tree();
if (!$scope.search) {
$scope.items = amse.get_visible_tree();
}

var checked_tree = amse.get_checked_tree(self.output_filter);

Expand Down

0 comments on commit 4e82422

Please sign in to comment.