switch to namespaced CSS

This commit is contained in:
Matthew Hodgson 2016-08-27 23:59:55 +01:00
parent 5df98d70f4
commit 5b0d13c1fc

View file

@ -49,7 +49,7 @@ export function unicodeToImage(str) {
alt = (emojione.unicodeAlt) ? emojione.convert(unicode.toUpperCase()) : mappedUnicode[unicode];
const title = mappedUnicode[unicode];
replaceWith = `<img class="emojione" title="${title}" alt="${alt}" src="${emojione.imagePathSVG}${unicode}.svg${emojione.cacheBustParam}"/>`;
replaceWith = `<img class="mx_emojione" title="${title}" alt="${alt}" src="${emojione.imagePathSVG}${unicode}.svg${emojione.cacheBustParam}"/>`;
return replaceWith;
}
});