Minor tweaks

This commit is contained in:
Will Marshall
2014-03-14 15:34:18 +11:00
parent 7dd2366c22
commit c01b198f95
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ angular.module("Checkout").controller "CheckoutCtrl", ($scope, $rootScope, order
$scope.order.shipping_methods[$scope.order.shipping_method_id]
$scope.shippingMethodChanged = ->
$scope.require_ship_address = $scope.shippingMethod().require_ship_address
$scope.require_ship_address = $scope.shippingMethod().require_ship_address if $scope.shippingMethod()
$scope.purchase = (event)->
event.preventDefault()