Commit 44e088c940077f5ec8919d91dd79bc194956ae77

Authored by Eric Fernandez
1 parent 02ce8ad9fb
Exists in master

mejor sintaxis javascript

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -56,7 +56,7 @@ angular.module('focaModalFactura')
56 56  
57 57 $scope.tieneAlMenosUno = function() {
58 58 var result = $scope.facturas.filter(function(a) {return a.checked === true;});
59   - return result.length === 0 ? true : false;
  59 + return !result.length;
60 60 };
61 61  
62 62 function llenarDatos(res) {