resets img src before changing it

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 23:24:50 +02:00
parent 26a7ae3750
commit 739794f0cb
1 changed files with 1 additions and 0 deletions

View File

@ -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));
},
});