[Libreoffice-commits] online.git: loleaflet/src

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 12 08:14:56 UTC 2020


 loleaflet/src/layer/marker/TextInput.js |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 7974e3e848b136522e8726cf062a2648966be301
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Aug 12 09:56:49 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Aug 12 10:14:35 2020 +0200

    Nothing uses _selectionHandler
    
    Leftover from hacking that lead to its addition?
    
    Change-Id: Ic033ffc625613908ff57d27c10ffbba087ff03c4
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100575
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/loleaflet/src/layer/marker/TextInput.js b/loleaflet/src/layer/marker/TextInput.js
index 1910d93d0..845bab5b6 100644
--- a/loleaflet/src/layer/marker/TextInput.js
+++ b/loleaflet/src/layer/marker/TextInput.js
@@ -59,9 +59,6 @@ L.TextInput = L.Layer.extend({
 			draggable: true
 		}).on('dragend', this._onCursorHandlerDragEnd, this);
 
-		var that = this;
-		this._selectionHandler = function(ev) { that._onEvent(ev); };
-
 		// Auto-correct characters can trigger auto-correction, but
 		// must be sent as key-up/down if we want correction.
 		// cf. SvxAutoCorrect::IsAutoCorrectChar


More information about the Libreoffice-commits mailing list