discourse/app/assets/javascripts/admin/components/admin-wrapper.js.es6
2018-06-15 17:03:24 +02:00

12 lines
229 B
JavaScript

export default Ember.Component.extend({
didInsertElement() {
this._super();
$("body").addClass("admin-interface");
},
willDestroyElement() {
this._super();
$("body").removeClass("admin-interface");
}
});