X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=c6656d88666b07939c841abc27d2005f571edc2e;hb=b3d8924ccce3328ecc4a63613c48c6059b26190b;hp=700d12ace10f3a20cfd02d894e69f83fe3cfb7c8;hpb=473adaf46357cbdd7fc7f8d3061a59800e985dd2;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index 700d12ace1..c6656d8866 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -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") {