X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fjot-header.tpl;h=c6656d88666b07939c841abc27d2005f571edc2e;hb=b3d8924ccce3328ecc4a63613c48c6059b26190b;hp=ba186bc8257a39475f13738b39808418760e39f7;hpb=8e005f7de2bc8fa9e82d7ae666b9b3b94f2a8cf4;p=friendica.git diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index ba186bc825..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") { @@ -210,6 +215,7 @@ function enableOnUser(){ // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; + force_update = true; $.colorbox.close(); } else { $("#id_term").css("border-color","#FF0000");