support plaintext on editpost, editorinit called before all buttons laid out

This commit is contained in:
friendica 2012-02-17 11:49:27 -08:00
parent 184f6165fc
commit 75acc1ed96
7 changed files with 11 additions and 8 deletions

View file

@ -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;
}