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

Commit

Permalink
fix(multipledigests): use evalAsync for resize calls
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeKittens committed Sep 12, 2015
1 parent 8aafd44 commit c295344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui-layout.js
Expand Up @@ -557,7 +557,7 @@ angular.module('ui.layout', [])
});

function onResize() {
scope.$apply(function() {
scope.$evalAsync(function() {
ctrl.updateDisplay();
});
}
Expand Down

0 comments on commit c295344

Please sign in to comment.