mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Focusing on the first form field
This commit is contained in:
@@ -27,9 +27,10 @@ Darkswarm.controller "CheckoutCtrl", ($scope, $rootScope, order, $location, $anc
|
||||
checkout.submit()
|
||||
|
||||
$scope.scrollTo = (name)->
|
||||
#$scope.userOpen = false
|
||||
$("#order_email").focus()
|
||||
$location.hash(name);
|
||||
$anchorScroll();
|
||||
$scope.userOpen = false
|
||||
|
||||
$scope.initialize()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user