2
0
Fork 0
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:
Joffrey JAFFEUX 2017-07-19 23:24:50 +02:00
parent 26a7ae3750
commit 739794f0cb

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