From 8f74dfc4bb1ccc018773b7b92f2d8c8cf3e26842 Mon Sep 17 00:00:00 2001 From: efernandez Date: Mon, 7 Jan 2019 17:57:15 -0300 Subject: [PATCH] error uglify --- src/js/controllerDetalleVehiculo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/controllerDetalleVehiculo.js b/src/js/controllerDetalleVehiculo.js index f33a7b8..b4aa186 100644 --- a/src/js/controllerDetalleVehiculo.js +++ b/src/js/controllerDetalleVehiculo.js @@ -163,8 +163,9 @@ angular.module('focaLogisticaPedidoRuta') } return cisterna; }; - $scope.rellenarInput = function(input = 0) { + $scope.rellenarInput = function(input) { if(!$scope.articuloSeleccionado) return; + if(!input) input = 0; input = parseFloat(input); if(input === $scope.articuloSeleccionado.cantidad || $scope.articuloSeleccionado.cantidad - -- 1.9.1