mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
5 lines
170 B
CoffeeScript
5 lines
170 B
CoffeeScript
Darkswarm.controller "LineItemCtrl", ($scope)->
|
|
$scope.$watch "line_item.quantity", (newValue, oldValue)->
|
|
if newValue != oldValue
|
|
$scope.Cart.orderChanged()
|