aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-19 20:41:40 -0700
committerFriendika <info@friendika.com>2011-05-19 20:41:40 -0700
commit9ab6055b249b78c6b43be71e714e11118592dbcc (patch)
treed1115cb101cf735ad6db64bf5943ccd0c758117f /view/theme/dispy/jot-header.tpl
parent20807ab8b4e0d1180b7fe74624a58b80b6cfc52a (diff)
downloadvolse-hubzilla-9ab6055b249b78c6b43be71e714e11118592dbcc.tar.gz
volse-hubzilla-9ab6055b249b78c6b43be71e714e11118592dbcc.tar.bz2
volse-hubzilla-9ab6055b249b78c6b43be71e714e11118592dbcc.zip
textlen defined outside function
Diffstat (limited to 'view/theme/dispy/jot-header.tpl')
-rw-r--r--view/theme/dispy/jot-header.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl
index 00a4371c4..068c5cf43 100644
--- a/view/theme/dispy/jot-header.tpl
+++ b/view/theme/dispy/jot-header.tpl
@@ -3,6 +3,7 @@
<script language="javascript" type="text/javascript">
var editor;
+var textlen;
tinyMCE.init({
theme : "advanced",
@@ -31,7 +32,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);
}