From 4655a942c17adfe9f57d0cf144962f43778b4de0 Mon Sep 17 00:00:00 2001 From: Onataze Date: Mon, 3 Oct 2016 09:49:53 -0700 Subject: [PATCH] Fix IE prgression blocker bug Refs HE3-502 --- dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialog.js b/dialog.js index 60f955e..8dccf65 100644 --- a/dialog.js +++ b/dialog.js @@ -501,7 +501,7 @@ angular.module('ayDialog', []) restoreScroll = blockScrolling(offset); - if (prevFocus != $window.document.body) { + if (prevFocus && (prevFocus != $window.document.body)) { prevFocus.blur(); }