2016-11-11 16:31:08 -05:00
|
|
|
export default Ember.Component.extend({
|
|
|
|
willInsertElement() {
|
|
|
|
this._super();
|
2015-03-02 17:31:04 -05:00
|
|
|
if (this.session.get("disableCustomCSS")) {
|
|
|
|
$("link.custom-css").attr("rel", "");
|
|
|
|
this.session.set("disableCustomCSS", false);
|
|
|
|
}
|
2016-11-11 16:31:08 -05:00
|
|
|
},
|
2015-02-20 12:18:25 -05:00
|
|
|
|
2016-11-11 16:31:08 -05:00
|
|
|
willDestroyElement() {
|
|
|
|
this._super();
|
2015-02-20 12:21:19 -05:00
|
|
|
$("link.custom-css").attr("rel", "stylesheet");
|
2016-11-11 16:31:08 -05:00
|
|
|
}
|
2015-02-20 12:18:25 -05:00
|
|
|
});
|