mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Enter Browse mode before switching API server
(Because if in Select mode, the selected entity will be missing and cause an error to be thrown)
This commit is contained in:
@@ -13,6 +13,7 @@ iD.ui.SourceSwitch = function(context) {
|
||||
context.connection()
|
||||
.switch(live ? keys[1] : keys[0]);
|
||||
|
||||
context.enter(iD.modes.Browse(context));
|
||||
context.flush();
|
||||
|
||||
d3.select(this)
|
||||
|
||||
Reference in New Issue
Block a user