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', name: 'enable-emoji',
after: 'inject-objects', after: 'inject-objects',
initialize: function(container) { initialize(container) {
var siteSettings = container.lookup('site-settings:main'); const siteSettings = container.lookup('site-settings:main');
if (siteSettings.enable_emoji) { if (siteSettings.enable_emoji) {
window.PagedownCustom.appendButtons.push({ window.PagedownCustom.appendButtons.push({
id: 'wmd-emoji-button', id: 'wmd-emoji-button',

View File

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