mirror of
https://github.com/discourse/discourse.git
synced 2025-04-27 14:14:37 +08:00
FIX: subfolder support for page refresh when assets have changed
This commit is contained in:
parent
d0741f752f
commit
364437da28
@ -113,7 +113,7 @@ Discourse.URL = Ember.Object.createWithMixins({
|
|||||||
if (Em.isEmpty(path)) { return; }
|
if (Em.isEmpty(path)) { return; }
|
||||||
|
|
||||||
if (Discourse.get('requiresRefresh')) {
|
if (Discourse.get('requiresRefresh')) {
|
||||||
document.location.href = path;
|
document.location.href = Discourse.getURL(path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user