summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart/CartPayment.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-19 16:44:49 -0500
committerJules Laplace <jules@okfoc.us>2015-11-19 16:44:49 -0500
commit1688752c5f3230fd9986691c2f67d9c7cd0bc164 (patch)
tree22e7773514fe1b14274b5d5a16c29838ce1a224a /StoneIsland/www/js/lib/cart/CartPayment.js
parent336282e0dd2fa1c7f4cbcba1c92e272fac76c327 (diff)
scrollers
Diffstat (limited to 'StoneIsland/www/js/lib/cart/CartPayment.js')
-rw-r--r--StoneIsland/www/js/lib/cart/CartPayment.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js
index f5dfb6ed..50fbef9c 100644
--- a/StoneIsland/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/www/js/lib/cart/CartPayment.js
@@ -10,12 +10,14 @@ var CartPayment = View.extend({
this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this })
this.cc = new CreditCardView ({ parent: this })
+ this.scroller = new IScroll('#cart_payment', app.iscroll_options)
},
show: function(){
document.body.className = "cart"
app.cart.el.className = "payment"
app.footer.show("CONFIRM &gt;", "CANCEL")
+ this.deferScrollToTop()
},
save: function(){