From: brettp Date: Fri, 19 Mar 2010 20:06:46 +0000 (+0000) Subject: Added a space between the word count colon and the number for tinymce. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc;p=lorea%2Felgg.git Added a space between the word count colon and the number for tinymce. git-svn-id: http://code.elgg.org/elgg/trunk@5449 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/mod/tinymce/views/default/input/longtext.php b/mod/tinymce/views/default/input/longtext.php index 59fa7ca73..af9c3e998 100644 --- a/mod/tinymce/views/default/input/longtext.php +++ b/mod/tinymce/views/default/input/longtext.php @@ -60,13 +60,13 @@ tinyMCE.init({ //show the number of words ed.onLoadContent.add(function(ed, o) { var strip = (tinyMCE.activeEditor.getContent()).replace(/(<([^>]+)>)/ig,""); - var text = " Word count:" + strip.split(' ').length; + var text = " Word count: " + strip.split(' ').length; tinymce.DOM.setHTML(tinymce.DOM.get(tinyMCE.activeEditor.id + '_path_row'), text); }); ed.onKeyUp.add(function(ed, e) { var strip = (tinyMCE.activeEditor.getContent()).replace(/(<([^>]+)>)/ig,""); - var text = " Word count:" + strip.split(' ').length; + var text = " Word count: " + strip.split(' ').length; tinymce.DOM.setHTML(tinymce.DOM.get(tinyMCE.activeEditor.id + '_path_row'), text); }); } @@ -95,4 +95,4 @@ else tinyMCE.triggerSave(); }); }); - \ No newline at end of file +