Commit 9132c32d719e44e81d9760e4b142ceea0eb6f015
1 parent
4786b133fb
Exists in
master
and in
1 other branch
espacios
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -85,13 +85,13 @@ angular.module('focaModalPrecioCondicion') |
85 | 85 | {$: $scope.filters} |
86 | 86 | ); |
87 | 87 | |
88 | - if(pressed){ | |
89 | - if($scope.filteredPrecioCondicion.length === 0){ | |
88 | + if(pressed) { | |
89 | + if($scope.filteredPrecioCondicion.length === 0) { | |
90 | 90 | $timeout(function() { |
91 | 91 | angular.element('#search')[0].focus(); |
92 | 92 | $scope.filters = ''; |
93 | 93 | }); |
94 | - }else{ | |
94 | + }else { | |
95 | 95 | primera(); |
96 | 96 | } |
97 | 97 | } |