mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: subfolder support for page refresh when assets have changed
This commit is contained in:
parent
d0741f752f
commit
364437da28
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue