[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src

Jan Holesovsky kendy at collabora.com
Tue Apr 25 11:06:05 UTC 2017


 loleaflet/src/control/Parts.js |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 895685cfab5c5e2cee548c39124a76ca8cc3ce25
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Apr 25 12:59:52 2017 +0200

    Lint.
    
    Change-Id: Ie4fbe41568502f9c4f7642e8e85a631da648e3c3
    Reviewed-on: https://gerrit.libreoffice.org/36939
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js
index 1953eb52..84e92f31 100644
--- a/loleaflet/src/control/Parts.js
+++ b/loleaflet/src/control/Parts.js
@@ -51,8 +51,9 @@ L.Map.include({
 		if (!this._searchRequested) {
 			this.focus();
 		}
-		if (docLayer._docType === 'spreadsheet')
+		if (docLayer._docType === 'spreadsheet') {
 			this.fire('updaterowcolumnheaders', {x: this._getTopLeftPoint().x, y: this._getTopLeftPoint(), offset: {x: undefined, y: undefined}});
+		}
 	},
 
 	getPreview: function (id, index, maxWidth, maxHeight, options) {


More information about the Libreoffice-commits mailing list