mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:30:01 +08: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 {
|
||||
$('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')) {
|
||||
$(this).data('orig', this.href);
|
||||
}
|
||||
|
@ -68,4 +69,4 @@ Discourse.addInitializer(function() {
|
|||
});
|
||||
});
|
||||
|
||||
}, true);
|
||||
}, true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user