Skip to content

Commit

Permalink
Merge pull request #5 from AyogoHealth/IE11-bug-fix
Browse files Browse the repository at this point in the history
Fix IE prgression blocker bug
  • Loading branch information
isuda authored Oct 3, 2016
2 parents 1c6f556 + 4655a94 commit 8ccd908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ angular.module('ayDialog', [])

restoreScroll = blockScrolling(offset);

if (prevFocus != $window.document.body) {
if (prevFocus && (prevFocus != $window.document.body)) {
prevFocus.blur();
}

Expand Down

0 comments on commit 8ccd908

Please sign in to comment.