mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: getURL deprecation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user