mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
5 lines
204 B
CoffeeScript
5 lines
204 B
CoffeeScript
Darkswarm.controller "LineItemCtrl", ($scope)->
|
|
$scope.$watch '[line_item.quantity, line_item.max_quantity]', (newValue, oldValue)->
|
|
if newValue != oldValue
|
|
$scope.Cart.orderChanged()
|
|
, true |