diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/jot-header.tpl | 2 | ||||
-rw-r--r-- | view/theme/dispy/jot-header.tpl | 3 |
2 files changed, 3 insertions, 2 deletions
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); } 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); } |