bccu#1811: Give the stolen focus back to map

Fallback from d104e82d74

Change-Id: I5885bd11cee9499a26165e6989bb652683c4645d
This commit is contained in:
Pranav Kant
2016-05-25 14:23:44 +05:30
parent bf1a4705e4
commit 83e625e6e6
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,8 @@ L.Control.ContextMenu = L.Control.extend({
return {
callback: function(key) {
map.sendUnoCommand(key);
// Give the stolen focus back to map
map.focus();
},
items: contextMenu
};