mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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 (Discourse.get('requiresRefresh')) {
|
||||
document.location.href = path;
|
||||
document.location.href = Discourse.getURL(path);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user