From 0ac200ec383b74ab34758927cea77688a90a830b Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 25 Oct 2013 15:31:40 -0700 Subject: [PATCH] IE compatibility --- js/id/modes/browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/modes/browse.js b/js/id/modes/browse.js index 2b6178cf0..f48275cf5 100644 --- a/js/id/modes/browse.js +++ b/js/id/modes/browse.js @@ -20,7 +20,7 @@ iD.modes.Browse = function(context) { }); // Get focus on the body. - if (document.activeElement) { + if (document.activeElement && document.activeElement.blur) { document.activeElement.blur(); }