Commit 2e8ee2c31a1b5fce471f8b69f78a6ab624c3d4be
1 parent
80a34bfc41
Exists in
master
espacios necesarios
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -40,8 +40,8 @@ angular.module('focaModalDomicilio') |
40 | 40 | {$: $scope.filters} |
41 | 41 | ); |
42 | 42 | |
43 | - if(pressed){ | |
44 | - if($scope.filteredDomicilios.length === 0){ | |
43 | + if(pressed) { | |
44 | + if($scope.filteredDomicilios.length === 0) { | |
45 | 45 | $timeout(function() { |
46 | 46 | angular.element('#search')[0].focus(); |
47 | 47 | $scope.filters = ''; |