From 2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 19 Mar 2010 20:06:46 +0000 Subject: 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 --- mod/tinymce/views/default/input/longtext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/tinymce/views/default') 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 + -- cgit v1.2.3