mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 11:16:36 +02:00
Fix focus when undoing with autofocused preset search (fixes #1570)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user