FIX: Missing emoji button

This commit is contained in:
Robin Ward 2015-07-14 10:53:54 -04:00
parent d87c80836d
commit 46b61627cd
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ export default {
name: 'enable-emoji',
after: 'inject-objects',
initialize: function(container) {
var siteSettings = container.lookup('site-settings:main');
initialize(container) {
const siteSettings = container.lookup('site-settings:main');
if (siteSettings.enable_emoji) {
window.PagedownCustom.appendButtons.push({
id: 'wmd-emoji-button',

View File

@ -4,7 +4,7 @@ body img.emoji {
vertical-align: middle;
}
#wmd-emoji-button:before {
.wmd-emoji-button:before {
content: "\f118";
}