aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:06:46 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:06:46 +0000
commit2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc (patch)
tree6e3f0068133710fbc3d539543cb49b872daf4568 /mod/tinymce/views
parent8ead3001aca12fa920ef616002a75c00dc28d851 (diff)
downloadelgg-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
Diffstat (limited to 'mod/tinymce/views')
-rw-r--r--mod/tinymce/views/default/input/longtext.php6
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(/(&lt;([^&gt;]+)&gt;)/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(/(&lt;([^&gt;]+)&gt;)/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>