mirror of
https://github.com/flarum/core.git
synced 2025-02-24 03:05:12 +01:00
Update User.js
Use recommended `anonymous`, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin
This commit is contained in:
parent
2dedfe4b92
commit
937354512b
@ -91,7 +91,7 @@ Object.assign(User.prototype, {
|
||||
user.freshness = new Date();
|
||||
m.redraw();
|
||||
};
|
||||
image.crossOrigin = 'Anonymous';
|
||||
image.crossOrigin = 'anonymous';
|
||||
image.src = this.avatarUrl();
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user