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") { diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index 71939e0eba..2a5df64065 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -1,7 +1,6 @@
+ @@ -53,6 +52,10 @@