summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-30 21:22:44 -0500
committerJules Laplace <jules@okfoc.us>2015-11-30 21:22:44 -0500
commiteb04d2684f0d8eddda6066fbe18413dbb075c97f (patch)
treecf27dd87a2dbbe4a8ac5bb623e258b800c26b708 /StoneIsland/www/js
parent18925a6b8028f872323c03599b2cb1bf3e39f55d (diff)
fix
Diffstat (limited to 'StoneIsland/www/js')
-rw-r--r--StoneIsland/www/js/lib/account/OrdersView.js2
-rw-r--r--StoneIsland/www/js/lib/cart/CartSummary.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/account/OrdersView.js b/StoneIsland/www/js/lib/account/OrdersView.js
index 6465792f..d5130ded 100644
--- a/StoneIsland/www/js/lib/account/OrdersView.js
+++ b/StoneIsland/www/js/lib/account/OrdersView.js
@@ -118,6 +118,8 @@ var OrdersView = ScrollableView.extend({
console.log(order)
+ this.$rows.empty()
+
order.Items.forEach(function(item){
var $el = $("<div class='item'><img src='img/spinner.gif'></div>")
this.$rows.append($el)
diff --git a/StoneIsland/www/js/lib/cart/CartSummary.js b/StoneIsland/www/js/lib/cart/CartSummary.js
index fea0228c..72c44405 100644
--- a/StoneIsland/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/www/js/lib/cart/CartSummary.js
@@ -65,8 +65,6 @@ var CartSummary = ScrollableView.extend({
var $el = $("<div>").addClass("cart_item_row")
$el.html("<img src='img/spinner.gif'>")
- this.$rows.append($el)
-
$el.data({
code: code_ten,
size: size_id,