diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-19 20:06:46 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-19 20:06:46 +0000 |
commit | 2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc (patch) | |
tree | 6e3f0068133710fbc3d539543cb49b872daf4568 | |
parent | 8ead3001aca12fa920ef616002a75c00dc28d851 (diff) | |
download | elgg-2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc.tar.gz elgg-2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc.tar.bz2 |
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
-rw-r--r-- | mod/tinymce/views/default/input/longtext.php | 6 |
1 files changed, 3 insertions, 3 deletions
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(); }); }); -</script>
\ No newline at end of file +</script> |