1
Fork 0

Width is now auto, to help with weird-sized emoticons

This commit is contained in:
Jake Howard 2015-08-25 16:10:44 +01:00
parent 5eec570a72
commit 9d43d343f8

View file

@ -7,7 +7,7 @@ function inject_image(ident, classes) {
image = decoder[i][key]; image = decoder[i][key];
key = "(" + key + ")"; key = "(" + key + ")";
$(this).html($(this).html().replace(key, $(this).html($(this).html().replace(key,
"<img class='" + classes + "' style='height: 30px; width: 30px;' src='" + image + "'/>" "<img class='" + classes + "' style='height: 30px; width: auto;' src='" + image + "'/>"
)); ));
} }
}); });