diff --git a/mod/editpost.php b/mod/editpost.php
index f23b305f0e..778ac3dccd 100755
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -28,6 +28,10 @@ function editpost_content(&$a) {
return;
}
+ $plaintext = false;
+ if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
+ $plaintext = true;
+
$o .= '
' . t('Edit post') . '
';
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 02662d2d4b..007f639b67 100755
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -11,12 +11,12 @@ function initEditor(cb){
if(plaintext == 'none') {
$("#profile-jot-text-loading").hide();
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
- $(".jothidden").show();
editor = true;
$("a#jot-perms-icon").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
+ $(".jothidden").show();
if (typeof cb!="undefined") cb();
return;
}
diff --git a/view/jot.tpl b/view/jot.tpl
index f116dc0f02..1c19dd6fac 100755
--- a/view/jot.tpl
+++ b/view/jot.tpl
@@ -13,9 +13,7 @@
- {{ if $content }}{{ endif }}
-
-
+