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(); }