mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 09:44:22 +08:00
10 lines
279 B
JavaScript
10 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")
|
|
});
|