From fab91f4ab348e1a4c222fa81f2a036729d3a501a Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Fri, 3 Nov 2017 10:07:44 +0100
Subject: [PATCH] JS hint

---
 www/plugins/es/js/controllers/registry-controllers.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js
index 748228ee8..d9767344a 100644
--- a/www/plugins/es/js/controllers/registry-controllers.js
+++ b/www/plugins/es/js/controllers/registry-controllers.js
@@ -203,7 +203,7 @@ function ESRegistryLookupController($scope, $focus, $timeout, $filter, $controll
 
   $scope.onLocationChanged = function() {
     if ($scope.search.loadingPosition) return;
-    return $scope.search.geoPoint = undefined; // reset geo point
+    $scope.search.geoPoint = undefined; // reset geo point
   };
   $scope.$watch('search.location', $scope.onLocationChanged);
 
-- 
GitLab