fixed home commerce buttons
This commit is contained in:
@@ -111,7 +111,7 @@ export default {
|
||||
|
||||
// transition
|
||||
this.$modal.hide('modal-loginregister')
|
||||
document.getElementById('pricing').classList.add('loading')
|
||||
document.getElementById('main-content').classList.add('loading')
|
||||
|
||||
// handle the cart then redirect to checkout flow
|
||||
this.getCarts()
|
||||
@@ -136,6 +136,7 @@ export default {
|
||||
})
|
||||
.catch((error) => {
|
||||
console.warn('Issue with product add to cart', error)
|
||||
document.getElementById('main-content').classList.remove('loading')
|
||||
Promise.reject(error)
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user