Commit 8f74dfc4bb1ccc018773b7b92f2d8c8cf3e26842

Authored by Eric Fernandez
1 parent 0eed2f6688
Exists in master and in 1 other branch develop

error uglify

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/js/controllerDetalleVehiculo.js
... ... @@ -163,8 +163,9 @@ angular.module('focaLogisticaPedidoRuta')
163 163 }
164 164 return cisterna;
165 165 };
166   - $scope.rellenarInput = function(input = 0) {
  166 + $scope.rellenarInput = function(input) {
167 167 if(!$scope.articuloSeleccionado) return;
  168 + if(!input) input = 0;
168 169 input = parseFloat(input);
169 170 if(input === $scope.articuloSeleccionado.cantidad ||
170 171 $scope.articuloSeleccionado.cantidad -