diff options
Diffstat (limited to 'mod/tinymce')
-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> |