[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Tue Apr 4 10:50:01 UTC 2017
loleaflet/src/map/Map.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fd64c6fcd79af5a98601f29d2c326552481dcf97
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Apr 4 16:18:43 2017 +0530
loleaflet: Turn off autocomplete, spellcheck
Change-Id: I3fcd4983ca63a2de4d1bca7a1a0d4fbd7feecf38
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 1c16e138..19b0576c 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -634,6 +634,8 @@ L.Map = L.Evented.extend({
this._textArea.setAttribute('type', 'text');
this._textArea.setAttribute('autocorrect', 'off');
this._textArea.setAttribute('autocapitalize', 'off');
+ this._textArea.setAttribute('autocomplete', 'off');
+ this._textArea.setAttribute('spellcheck', 'false');
this._resizeDetector = L.DomUtil.create('iframe', 'resize-detector', container);
this._fileDownloader = L.DomUtil.create('iframe', '', container);
L.DomUtil.setStyle(this._fileDownloader, 'display', 'none');
More information about the Libreoffice-commits
mailing list