Skip to content

Commit 217f70b

Browse files
committed
removed unused code
1 parent 94edc17 commit 217f70b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/uiSelectDirective.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,10 @@ uis.directive('uiSelect',
199199
}
200200
});
201201

202-
// $document.bind('scroll', function() {
203-
// positionDropdown();
204-
// });
205202
// Move the dropdown back to its original location when the scope is destroyed. Otherwise
206203
// it might stick around when the user routes away or the select field is otherwise removed
207204
scope.$on('$destroy', function() {
208205
resetDropdown();
209-
//$document.unbind('scroll');
210206
});
211207
}
212208

0 commit comments

Comments
 (0)