diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-23 19:52:41 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-23 19:52:41 -0500 |
| commit | e7703ca78d5b3f63a98f995c128db3a963eac7b4 (patch) | |
| tree | 976bedb17af3b67946573e4274177e7e2c0c9fca /StoneIsland/www/js/lib/account/AccountView.js | |
| parent | 057742265e771dfd75ad9eddb3414e807e110995 (diff) | |
add to cart race condition
Diffstat (limited to 'StoneIsland/www/js/lib/account/AccountView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/AccountView.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/account/AccountView.js b/StoneIsland/www/js/lib/account/AccountView.js index e9022d64..cbd9a9c6 100644 --- a/StoneIsland/www/js/lib/account/AccountView.js +++ b/StoneIsland/www/js/lib/account/AccountView.js @@ -52,7 +52,7 @@ var AccountView = View.extend({ } else { if (auth.deferred_product) { - auth.add_deferred_product_to_cart( app.cart.load.bind(app.cart) ) + auth.add_deferred_product_to_cart() } else { app.cart.load() |
