mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
resets img src before changing it
This commit is contained in:
parent
26a7ae3750
commit
739794f0cb
@ -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…
Reference in New Issue
Block a user