Elgg/Elgg — pull request #5326 by beck24 (2013-04-06 18:19:59+00:00)
Title: fixes duplicate wordcount bug when multiple longtext inputs are rendered...

... on the same page

ckeditor has the same number of wordcount divs as there are editors on the page. Eg. if there are 3 longtext inputs, each input will have three wordcounts at the bottom.
This just checks whether a wordcount is already in place for the editor before trying to add a new one.