Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusdacal committed Sep 21, 2015
1 parent 94edc17 commit 217f70b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/uiSelectDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,10 @@ uis.directive('uiSelect',
}
});

// $document.bind('scroll', function() {
// positionDropdown();
// });
// Move the dropdown back to its original location when the scope is destroyed. Otherwise
// it might stick around when the user routes away or the select field is otherwise removed
scope.$on('$destroy', function() {
resetDropdown();
//$document.unbind('scroll');
});
}

Expand Down

0 comments on commit 217f70b

Please sign in to comment.