diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js
index 748228ee86d4f8b7b9f612512105190b014fddcb..d9767344abc23184e55588aec617a8f1ff4e5bbf 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);