mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00
bccu#1811: Give the stolen focus back to map
Fallback from d104e82d74
Change-Id: I5885bd11cee9499a26165e6989bb652683c4645d
This commit is contained in:
@ -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
|
||||
};
|
||||
|
@ -506,7 +506,6 @@ L.TileLayer = L.GridLayer.extend({
|
||||
this._twipsToLatLng(bottomRightTwips, this._map.getZoom()));
|
||||
this._isCursorOverlayVisible = true;
|
||||
this._onUpdateCursor();
|
||||
this._map.focus();
|
||||
},
|
||||
|
||||
_onPartPageRectanglesMsg: function (textMsg) {
|
||||
|
Reference in New Issue
Block a user