Fix focus when undoing with autofocused preset search (fixes #1570)

This commit is contained in:
John Firebaugh
2013-06-03 16:56:30 -07:00
parent 1d7e168763
commit 4b8ecc2dd7
+2
View File
@@ -19,6 +19,8 @@ iD.modes.Browse = function(context) {
context.install(behavior);
});
// Get focus on the body.
document.activeElement.blur();
context.ui().sidebar.select(null);
};