Lower the chance of a conflict with the CSS class "loading"

This commit is contained in:
Samuel Georges 2015-02-17 21:04:24 +11:00
parent 7145aac457
commit 4e2182138d
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
body.loading,
body.loading * {
body.oc-loading,
body.oc-loading * {
cursor: wait !important;
}
.stripe-loading-indicator {

View File

@ -43,7 +43,7 @@
return
this.indicator.removeClass('loaded')
$(document.body).addClass('loading')
$(document.body).addClass('oc-loading')
}
StripeLoadIndicator.prototype.hide = function(force) {
@ -53,7 +53,7 @@
if (this.counter <= 0) {
this.indicator.addClass('loaded')
$(document.body).removeClass('loading')
$(document.body).removeClass('oc-loading')
}
}

View File

@ -4,7 +4,7 @@
// Stripe loading indicator
// --------------------------------------------------
body.loading, body.loading * {
body.oc-loading, body.oc-loading * {
cursor: wait !important;
}