diff --git a/app/assets/javascripts/discourse/app/components/d-section.js b/app/assets/javascripts/discourse/app/components/d-section.js index 0ca4b4f6e4c..3b5433b3ea3 100644 --- a/app/assets/javascripts/discourse/app/components/d-section.js +++ b/app/assets/javascripts/discourse/app/components/d-section.js @@ -17,7 +17,7 @@ export default Component.extend({ } if (this.bodyClass) { - document.body.classList.add(this.bodyClass); + document.body.classList.add(...this.bodyClass.split(" ")); } if (this.scrollTop === "false") { @@ -44,7 +44,7 @@ export default Component.extend({ } if (this.bodyClass) { - document.body.classList.remove(this.bodyClass); + document.body.classList.remove(...this.bodyClass.split(" ")); } }, });