summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Dewan <iit2015097@iiita.ac.in>2017-06-21 16:23:45 +0530
committerpranavk <pranavk@collabora.co.uk>2017-06-21 13:21:01 +0200
commit50ea3a50b5efc303f30bb91fabd1684476d8bbd1 (patch)
treebdb7a15e7f3121e4412e4cac6b7728e4cb2c72e3
parent7a69dc16509cee56f1a90b459c8189c5cfb08add (diff)
fix js lint error
Change-Id: I42183dc8865a6936de26e18459ab985e2f9bba1f Reviewed-on: https://gerrit.libreoffice.org/39046 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
-rw-r--r--loleaflet/dist/toolbar/toolbar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index a0d9a5b53..448ec1902 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');