mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:20:33 +08:00
a8a76198b1
Use imports instead.
13 lines
289 B
JavaScript
13 lines
289 B
JavaScript
import Component from "@ember/component";
|
|
export default Component.extend({
|
|
didInsertElement() {
|
|
this._super(...arguments);
|
|
$("body").addClass("admin-interface");
|
|
},
|
|
|
|
willDestroyElement() {
|
|
this._super(...arguments);
|
|
$("body").removeClass("admin-interface");
|
|
}
|
|
});
|