We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 59ec9c69 authored by mattl's avatar mattl

Don't close main notice input on init if composing

parent 8892702f
......@@ -1438,7 +1438,15 @@ var SN = { // StatusNet
// when forms get displayed for the first time...
// Initially hide all tabs on the top of the page
// if there's no data in there yet.
var fields = $('#content .input_forms .input_form.current').find('textarea, input[type=text], input[type=""]');
var anything = false;
fields.each(function () {
anything = anything || $(this).val();
if (!anything) {
// Make inline reply forms self-close when clicking out.
$('body').on('click', function (e) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment