X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=a67f9c3f0c35ef0bdea97a1f6061c5c3cf4b3210;hb=a68c790c645f41e2c6a579d4d4485f864a1d06cd;hp=db2e893e9bb39399729e03477213d9c5383d6e4d;hpb=d666b6cb42a1b0d46e9fae914a803fbd5e10e2ab;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index db2e893e9b..a67f9c3f0c 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") { @@ -40,7 +45,7 @@ function enableOnUser(){ } - +