diff --git a/browser/src/map/handler/Map.Keyboard.js b/browser/src/map/handler/Map.Keyboard.js index 098b55c80b8e..4d16a30a3d1b 100644 --- a/browser/src/map/handler/Map.Keyboard.js +++ b/browser/src/map/handler/Map.Keyboard.js @@ -662,6 +662,11 @@ L.Map.Keyboard = L.Handler.extend({ return true; } + // Control + Shift + I, open browser developper tools + if (this._isCtrlKey(e) && e.shiftKey && e.keyCode === this.keyCodes.I) { + return true; + } + if (e.keyCode !== this.keyCodes.C[DEFAULT] && e.keyCode !== this.keyCodes.V[DEFAULT] && e.keyCode !== this.keyCodes.X[DEFAULT] && /* Safari */ e.keyCode !== this.keyCodes.C[MAC] && e.keyCode !== this.keyCodes.V[MAC] && e.keyCode !== this.keyCodes.X[MAC]) { // not copy or paste