summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-07-31 09:50:04 +0000
committerMichael Meeks <michael.meeks@collabora.com>2019-08-05 22:24:33 -0400
commitd34ba83dd3dcb36c9a9c31e0f43df24ec5e26413 (patch)
treeb0f2b5a375be625856e630196ec7dbf980e699e5
parentbd3c723e410f8123a3e3bd65bcbeac9e740e338e (diff)
Use rich paste also for IEprivate/mmeeks/clipboard
Change-Id: I220af7fb1d2e7326e61c8ef4f9ec73980f65388b
-rw-r--r--loleaflet/src/map/Clipboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/map/Clipboard.js b/loleaflet/src/map/Clipboard.js
index 7768914e0..079f41e9f 100644
--- a/loleaflet/src/map/Clipboard.js
+++ b/loleaflet/src/map/Clipboard.js
@@ -657,7 +657,7 @@ L.Clipboard = L.Class.extend({
var active = document.activeElement;
// Can't get HTML until it is pasted ... so quick timeout
setTimeout(function() {
- that.dataTransferToDocument(null, /* preferInternal = */ false, that._dummyDiv.innerHTML);
+ that.dataTransferToDocument(null, /* preferInternal = */ true, that._dummyDiv.innerHTML);
// attempt to restore focus.
if (active == null)
that._map.focus();