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

Aditya Dewan iit2015097 at iiita.ac.in
Wed Jun 21 11:21:18 UTC 2017


 loleaflet/dist/toolbar/toolbar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50ea3a50b5efc303f30bb91fabd1684476d8bbd1
Author: Aditya Dewan <iit2015097 at iiita.ac.in>
Date:   Wed Jun 21 16:23:45 2017 +0530

    fix js lint error
    
    Change-Id: I42183dc8865a6936de26e18459ab985e2f9bba1f
    Reviewed-on: https://gerrit.libreoffice.org/39046
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index a0d9a5b5..448ec190 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -764,7 +764,7 @@ function onSearch(e) {
 		toolbar.hide('cancelsearch');
 	}
 	else {
-		if(map.getDocType() === 'text')
+		if (map.getDocType() === 'text')
 			map.search(L.DomUtil.get('search-input').value, false, '', 0, true /* expand search */);
 		toolbar.enable('searchprev');
 		toolbar.enable('searchnext');


More information about the Libreoffice-commits mailing list