From: Friendika Date: Fri, 20 May 2011 03:41:40 +0000 (-0700) Subject: textlen defined outside function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ab6055b249b78c6b43be71e714e11118592dbcc;p=friendica.git textlen defined outside function --- diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 25f2736c7f..3057618b2f 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -30,7 +30,7 @@ tinyMCE.init({ //Character count ed.onKeyUp.add(function(ed, e) { var txt = tinyMCE.activeEditor.getContent(); - var textlen = txt.length; + textlen = txt.length; if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) { $('#profile-jot-desc').html(ispublic); } diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 00a4371c47..068c5cf43f 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -3,6 +3,7 @@