summaryrefslogtreecommitdiffstats
path: root/browser/src/map/handler
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-12-09 10:30:34 +0100
committerAndras Timar <andras.timar@collabora.com>2021-12-11 18:17:42 +0100
commit17c09b78911247021909adbf64b55d1019bd503d (patch)
tree446103667d3bb95dfd9b03641ea2a41051e7f93e /browser/src/map/handler
parentFix styles dropdown: make all styles searchable, remove separators (diff)
downloadonline-17c09b78911247021909adbf64b55d1019bd503d.tar.gz
online-17c09b78911247021909adbf64b55d1019bd503d.zip
refactor replacing of Mac special key names
Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Idef51b644b7cc42e88b906e6f1adfe37b700a035
Diffstat (limited to 'browser/src/map/handler')
-rw-r--r--browser/src/map/handler/Map.Keyboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/src/map/handler/Map.Keyboard.js b/browser/src/map/handler/Map.Keyboard.js
index 4cf4688bef..1f6d0e1ea1 100644
--- a/browser/src/map/handler/Map.Keyboard.js
+++ b/browser/src/map/handler/Map.Keyboard.js
@@ -485,7 +485,7 @@ L.Map.Keyboard = L.Handler.extend({
if (!window.ThisIsAMobileApp && e.ctrlKey && e.shiftKey && e.altKey && (e.key === 'v' || e.key === 'V')) {
var map = this._map;
var msg = _('<p>Your browser has very limited access to the clipboard</p><p>Please press now: <kbd>Ctrl</kbd><span class="kbd--plus">+</span><kbd>V</kbd> to see more options</p><p class="vex-footnote">Close popup to ignore paste special</p>');
- msg = L.Util.replaceCtrlInMac(msg);
+ msg = L.Util.replaceCtrlAltInMac(msg);
this._map._clip.pasteSpecialVex = vex.open({
unsafeContent: msg,
showCloseButton: true,