mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 10:37:55 +08:00
FIX: getURL
deprecation
This commit is contained in:
parent
78beb4368a
commit
f3ff9d5625
@ -91,12 +91,10 @@ const Discourse = Application.extend({
|
||||
// append the favicon_url as query params to the path so that the cache
|
||||
// is not used when the favicon changes.
|
||||
if (/^http/.test(url)) {
|
||||
url = this.getURL("/favicon/proxied?" + encodeURIComponent(url));
|
||||
url = getURL("/favicon/proxied?" + encodeURIComponent(url));
|
||||
}
|
||||
|
||||
var displayCount = this.displayCount;
|
||||
|
||||
new window.Favcount(url).set(displayCount);
|
||||
new window.Favcount(url).set(this.displayCount);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user