X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=808d51126224570f423b4f6c71a9b900182f8683;hb=f842e7b81395803d4bd914175455d120837da312;hp=8f9d59d9859153e9c4d8912484e3970954f59bbb;hpb=71bd6c674b05ae356dd761b29fcd88b55bd321dc;p=friendica.git
diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl
index 8f9d59d985..808d511262 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(){
}
-
+