diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/css/conversation.css | 2 | ||||
-rw-r--r-- | view/js/autocomplete.js | 2 | ||||
-rwxr-xr-x | view/tpl/jot-header.tpl | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css index 7ecd41627..9272ed3f6 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -36,7 +36,7 @@ display: inherit; } -#profile-jot-text:focus { +#profile-jot-text.jot-expanded { resize: vertical; } diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 571b5a5b1..aa47a6e19 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -269,7 +269,7 @@ function string2bb(element) { $.fn.bbco_autocomplete = function(type) { if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer']; + var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'embed']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ]; var elements = open_close_elements.concat(open_elements); diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index ac657e63f..edabee2da 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -26,6 +26,7 @@ function initEditor(cb){ 'transition' : 'elastic' }); $(".jothidden").show(); + $("#profile-jot-text").addClass('jot-expanded'); if (typeof cb!="undefined") cb(); if(pretext.length) addeditortext(pretext); |