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>
This commit is contained in:
Aditya Dewan 2017-06-21 16:23:45 +05:30 committed by pranavk
parent 7a69dc1650
commit 50ea3a50b5

View file

@ -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');