diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-29 21:38:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-29 21:38:36 +0200 |
commit | 931a4fafe316b23bacf92ac1ff35f9b8467415dd (patch) | |
tree | cedf2c977cf289dd9b3a5634ced1cd92c6a21baa /view/tpl | |
parent | 83a0e82d5cba8d3e241c51e3c2e9fd2466183b72 (diff) | |
download | volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.gz volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.tar.bz2 volse-hubzilla-931a4fafe316b23bacf92ac1ff35f9b8467415dd.zip |
get rid of the unused ispublic variable
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 11 | ||||
-rwxr-xr-x | view/tpl/jot.tpl | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 085710f55..bdcca71ac 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -1,7 +1,6 @@ <script language="javascript" type="text/javascript"> var editor = false; -var textlen = 0; var plaintext = '{{$editselect}}'; var pretext = '{{$pretext}}'; @@ -75,14 +74,6 @@ function initEditor(cb){ else { if(cPopup !== null) { cPopup.close(); cPopup = null; } } - - textlen = txt.length; - if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) { - $('#profile-jot-desc').html(ispublic); - } - else { - $('#profile-jot-desc').html(' '); - } }); ed.onInit.add(function(ed) { @@ -109,8 +100,6 @@ function enableOnUser(){ </script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script> <script> - var ispublic = '{{$ispublic}}'; - $(document).ready(function() { /* enable tinymce on focus and click */ $("#profile-jot-text").focus(enableOnUser); diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 34952596a..106181ab5 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -128,7 +128,7 @@ {{if $weblink}} <li><a href="#" onclick="jotGetLink(); return false;"><i class="icon-link"></i> {{$weblink}}</a></li> {{/if}} -i {{if $setloc}} + {{if $setloc}} <li><a href="#" onclick="jotGetLocation(); return false;"><i class="icon-globe"></i> {{$setloc}}</a></li> {{/if}} {{if $clearloc}} |