]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/jot-header.tpl
Update translation fie after adding a string
[friendica.git] / view / templates / jot-header.tpl
index 700d12ace10f3a20cfd02d894e69f83fe3cfb7c8..c6656d88666b07939c841abc27d2005f571edc2e 100644 (file)
@@ -24,6 +24,11 @@ function initEditor(callback) {
                $("a#jot-perms-icon").colorbox(colorbox_options);
                $(".jothidden").show();
 
+               $("#profile-jot-text").keyup(function(){
+                       var textlen = $(this).val().length;
+                       $('#character-counter').text(textlen);
+               });
+
                editor = true;
        }
        if (typeof callback != "undefined") {