]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Added a space between the word count colon and the number for tinymce.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 19 Mar 2010 20:06:46 +0000 (20:06 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 19 Mar 2010 20:06:46 +0000 (20:06 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5449 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/tinymce/views/default/input/longtext.php

index 59fa7ca73428859d14c2c88eaf2a12ba1405775d..af9c3e9988116710fbc2dce32501a14275a2e63a 100644 (file)
@@ -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>