summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/cart
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/cart')
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartConfirm.js2
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartPayment.js2
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartShipping.js2
-rwxr-xr-xStoneIsland/www/js/lib/cart/CartSummary.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/cart/CartConfirm.js b/StoneIsland/www/js/lib/cart/CartConfirm.js
index 031e3359..6909dcc3 100755
--- a/StoneIsland/www/js/lib/cart/CartConfirm.js
+++ b/StoneIsland/www/js/lib/cart/CartConfirm.js
@@ -22,7 +22,7 @@ var CartConfirm = FormView.extend({
this.$payment_method = this.$(".payment_method")
this.$payment_address = this.$(".payment_address")
- this.scroller = new IScroll('#cart_confirm', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_confirm', app.iscroll_options)
},
show: function(){
diff --git a/StoneIsland/www/js/lib/cart/CartPayment.js b/StoneIsland/www/js/lib/cart/CartPayment.js
index 3a9e6412..40d08d9e 100755
--- a/StoneIsland/www/js/lib/cart/CartPayment.js
+++ b/StoneIsland/www/js/lib/cart/CartPayment.js
@@ -34,7 +34,7 @@ var CartPayment = FormView.extend({
this.address = new AddressView ({ parent: this, checkPhone: false })
this.cc = new CreditCardView ({ parent: this })
- this.scroller = new IScroll('#cart_payment', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_payment', app.iscroll_options)
this.scroller.on('scrollStart', function(){
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'SELECT') {
document.activeElement.blur()
diff --git a/StoneIsland/www/js/lib/cart/CartShipping.js b/StoneIsland/www/js/lib/cart/CartShipping.js
index ef8f94b7..b5d6647b 100755
--- a/StoneIsland/www/js/lib/cart/CartShipping.js
+++ b/StoneIsland/www/js/lib/cart/CartShipping.js
@@ -21,7 +21,7 @@ var CartShipping = FormView.extend({
this.$address_form = this.$(".address")
this.$msg = this.$(".msg")
this.address = new AddressView ({ parent: this })
- this.scroller = new IScroll('#cart_shipping', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_shipping', app.iscroll_options)
this.address.disabled = true
},
diff --git a/StoneIsland/www/js/lib/cart/CartSummary.js b/StoneIsland/www/js/lib/cart/CartSummary.js
index bf150791..51aa35ef 100755
--- a/StoneIsland/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/www/js/lib/cart/CartSummary.js
@@ -15,7 +15,7 @@ var CartSummary = ScrollableView.extend({
this.$loader = this.$(".loader")
this.$cart_body = this.$(".cart_body")
this.$cart_empty = this.$(".cart_empty")
- this.scroller = new IScroll('#cart_summary', app.iscroll_options)
+ this.scroller = ScrollFactory('#cart_summary', app.iscroll_options)
this.$rows = this.$(".rows")
this.$subtotal = this.$(".subtotal")