From 9ab6055b249b78c6b43be71e714e11118592dbcc Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 19 May 2011 20:41:40 -0700 Subject: textlen defined outside function --- view/jot-header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/jot-header.tpl') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 25f2736c7..3057618b2 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); } -- cgit v1.2.3