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