From 454593b572b889439bc8f75d5d1ae767b047464e Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Fri, 20 Oct 2017 19:37:49 +0200 Subject: [PATCH] js hint --- www/plugins/es/js/controllers/document-controllers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/plugins/es/js/controllers/document-controllers.js b/www/plugins/es/js/controllers/document-controllers.js index a37042ea3..f16187b56 100644 --- a/www/plugins/es/js/controllers/document-controllers.js +++ b/www/plugins/es/js/controllers/document-controllers.js @@ -76,9 +76,9 @@ function ESDocumentLookupController($scope, $ionicPopover, $location, $timeout, $scope.search.loading = true; - var searchFn = $scope.search.last - ? esDocument.search(options) - : esDocument.searchText($scope.search.text||'', options); + var searchFn = $scope.search.last ? + esDocument.search(options) : + esDocument.searchText($scope.search.text||'', options); return searchFn .then(function(res) { $scope.search.results = res.hits; -- GitLab