From ef5d56a2585c241fccc0fc41879b827b47dcd1b7 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 9 Dec 2014 12:10:30 +1100 Subject: [PATCH] correct random ')') showing up --- plugins/emoji/assets/javascripts/emoji-toolbar.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/emoji/assets/javascripts/emoji-toolbar.js b/plugins/emoji/assets/javascripts/emoji-toolbar.js index dd1554dc5..96280412a 100644 --- a/plugins/emoji/assets/javascripts/emoji-toolbar.js +++ b/plugins/emoji/assets/javascripts/emoji-toolbar.js @@ -105,8 +105,9 @@ var render = function(page, offset){ rows.push(row); $('body .emoji-modal').remove(); - $('body').append('
' + renderToolbar(toolbar(page)) + renderPage(rows) + - "
')"); + var newPage = '
' + renderToolbar(toolbar(page)) + renderPage(rows) + + "
"; + $('body').append(newPage); bindEvents(); };