aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl15
1 files changed, 2 insertions, 13 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 085710f55..aeb661008 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('&nbsp;');
- }
});
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);
@@ -352,11 +341,11 @@ function enableOnUser(){
function toggleVoting() {
if($('#jot-consensus').val() > 0) {
$('#jot-consensus').val(0);
- $('#profile-voting, #profile-voting-sub').removeClass('icon-check').addClass('icon-check-empty');
+ $('#profile-voting, #profile-voting-sub').removeClass('fa-check-square-o').addClass('fa-square-o');
}
else {
$('#jot-consensus').val(1);
- $('#profile-voting, #profile-voting-sub').removeClass('icon-check-empty').addClass('icon-check');
+ $('#profile-voting, #profile-voting-sub').removeClass('fa-square-o').addClass('fa-check-square-o');
}
}