Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(select): fix window resize listeners breaking after select shown
Browse files Browse the repository at this point in the history
closes #2499
  • Loading branch information
rschmukler committed Apr 23, 2015
1 parent 9d76187 commit 7c74050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ function SelectProvider($$interimElementProvider) {
opts.target.attr('aria-expanded', 'false');


angular.element($window).off('resize', opts.resizefn);
angular.element($window).off('resize', opts.resizeFn);
angular.element($window).off('orientationchange', opts.resizefn);
opts.resizeFn = undefined;

Expand Down

0 comments on commit 7c74050

Please sign in to comment.