From c0fd667b7cd418d07e8746232b2e1af7b4001120 Mon Sep 17 00:00:00 2001 From: Giulio Gratta Date: Tue, 3 Oct 2017 13:50:39 -0700 Subject: [PATCH] Fix Shopping-cart CSS and JS --- lms/static/sass/views/_shoppingcart.scss | 1 - lms/templates/shoppingcart/shopping_cart.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lms/static/sass/views/_shoppingcart.scss b/lms/static/sass/views/_shoppingcart.scss index f7f811560a..ffdcec7791 100644 --- a/lms/static/sass/views/_shoppingcart.scss +++ b/lms/static/sass/views/_shoppingcart.scss @@ -527,7 +527,6 @@ $light-border: 1px solid $gray-l5; opacity: 0.8; box-shadow: none; border: none; - background: none; width: auto; height: auto; text-shadow: none; diff --git a/lms/templates/shoppingcart/shopping_cart.html b/lms/templates/shoppingcart/shopping_cart.html index 6bc5c277c6..280112f997 100644 --- a/lms/templates/shoppingcart/shopping_cart.html +++ b/lms/templates/shoppingcart/shopping_cart.html @@ -409,8 +409,8 @@ from openedx.core.lib.courses import course_image_url var oldId = data['oldToNewIdMap'][i]['oldId']; var newId = data['oldToNewIdMap'][i]['newId']; - $('input.spin-counter[data-item-id]=' + oldId ).data('item-id', newId); - $('button.btn-remove[data-item-id]=' + oldId ).data('item-id', newId); + $("input.spin-counter[data-item-id='" + oldId + "']").data('item-id', newId); + $("button.btn-remove[data-item-id='" + oldId + "']").data('item-id', newId); } if(isbusinessType){ $( "div[name='payment']").addClass('hidden');