mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
commit
2711a9eef0
@ -25,6 +25,7 @@ Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||
if (u[u.length-1] === '/') {
|
||||
u = u.substring(0, u.length-1);
|
||||
}
|
||||
if (url.indexOf(u) != -1) return url;
|
||||
return u + url;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user