fixing buttons on mobile composer, and updating format so tags button only appears on mobile

This commit is contained in:
Julian Lam
2015-03-09 12:17:33 -04:00
parent e71ef216f2
commit 4360069859
3 changed files with 6 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ SocketModules.composer.stopNotifyTyping = function(socket, data) {
SocketModules.composer.getFormattingOptions = function(socket, data, callback) {
plugins.fireHook('filter:composer.formatting', {
options: [
// { className: 'fa fa-bold' } Just an example of what needs to be set via plugins
{ name: 'tags', className: 'fa fa-tags', mobile: true }
]
}, function(err, payload) {
callback(err, payload.options);