IE compatibility

This commit is contained in:
John Firebaugh
2013-10-25 15:31:40 -07:00
parent ce0b9b4633
commit 0ac200ec38
+1 -1
View File
@@ -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();
}