Commit c61f0efdba5e80bff5f88d69cb89b0ee526f90c9
1 parent
a7f7b8b259
Exists in
master
espacios
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -17,9 +17,9 @@ angular.module('focaBotoneraLateral') |
17 | 17 | }; |
18 | 18 | |
19 | 19 | $scope.cancelar = function() { |
20 | - if($scope.botones.pathCancelar){ | |
20 | + if($scope.botones.pathCancelar) { | |
21 | 21 | $location.path($scope.botones.pathCancelar); |
22 | - }else{ | |
22 | + }else { | |
23 | 23 | $window.history.back(); |
24 | 24 | } |
25 | 25 | }; |