JSHint
This commit is contained in:
parent
7e1f433f27
commit
a1a89d01c4
|
@ -25,7 +25,7 @@ Discourse = Ember.Application.createWithMixins(Discourse.Ajax, {
|
||||||
if (u[u.length-1] === '/') {
|
if (u[u.length-1] === '/') {
|
||||||
u = u.substring(0, u.length-1);
|
u = u.substring(0, u.length-1);
|
||||||
}
|
}
|
||||||
if (url.indexOf(u) != -1) return url;
|
if (url.indexOf(u) !== -1) return url;
|
||||||
return u + url;
|
return u + url;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue