mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
resets img src before changing it
This commit is contained in:
parent
26a7ae3750
commit
739794f0cb
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ export default Ember.Component.extend({
|
|||
$icon.parent().attr("title"),
|
||||
diversity || $icon.hasClass("diversity")
|
||||
);
|
||||
$icon.attr("src", "");
|
||||
$icon.attr("src", emojiUrlFor(code));
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue