discourse/app/assets/javascripts/admin/components/admin-wrapper.js.es6

12 lines
229 B
Plaintext
Raw Normal View History

export default Ember.Component.extend({
didInsertElement() {
this._super();
2018-06-15 23:03:24 +08:00
$("body").addClass("admin-interface");
},
willDestroyElement() {
this._super();
2018-06-15 23:03:24 +08:00
$("body").removeClass("admin-interface");
}
});