diff --git a/src/coffee/controllers/stack_controller.coffee b/src/coffee/controllers/stack_controller.coffee index 3b2001c6f..148667869 100644 --- a/src/coffee/controllers/stack_controller.coffee +++ b/src/coffee/controllers/stack_controller.coffee @@ -66,8 +66,8 @@ module.exports = class StackController extends BaseController newQuantity = Math.min newQuantity, StackController.MAX_QUANTITY newQuantity = Math.max 1, newQuantity + @$quantityField.val "#{newQuantity}" if newQuantity? and newQuantity isnt oldQuantity - @$quantityField.val "#{newQuantity}" @$bubble.removeClass 'error', Duration.snap @$bubble.removeClass 'error-new', Duration.snap