mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Tweak live reload due to CSS bundling in dev
This commit is contained in:
parent
f0f54c9eb3
commit
cfccf8b4ed
@ -57,7 +57,8 @@ Discourse.addInitializer(function() {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
$('link').each(function() {
|
$('link').each(function() {
|
||||||
if (this.href.match(me.name) && me.hash) {
|
// TODO: stop bundling css in DEV please
|
||||||
|
if (true || (this.href.match(me.name) && me.hash)) {
|
||||||
if (!$(this).data('orig')) {
|
if (!$(this).data('orig')) {
|
||||||
$(this).data('orig', this.href);
|
$(this).data('orig', this.href);
|
||||||
}
|
}
|
||||||
@ -68,4 +69,4 @@ Discourse.addInitializer(function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
}, true);
|
}, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user