mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
9 lines
279 B
JavaScript
9 lines
279 B
JavaScript
export default Discourse.View.extend({
|
|
_disableCustomStylesheets: function() {
|
|
$("link.custom-css").attr("rel", "");
|
|
}.on("willInsertElement"),
|
|
|
|
_enableCustomStylesheets: function() {
|
|
$("link.custom-css").attr("rel", "stylesheet");
|
|
}.on("willDestroyElement")
|
|
});
|