mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 22:08:33 +08:00
12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
export default Ember.Component.extend({
|
|
didInsertElement() {
|
|
this._super(...arguments);
|
|
$("body").addClass("admin-interface");
|
|
},
|
|
|
|
willDestroyElement() {
|
|
this._super(...arguments);
|
|
$("body").removeClass("admin-interface");
|
|
}
|
|
});
|