]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - js/util.js
Make sure we add ajax=1 to inputform if using javascript
[quix0rs-gnu-social.git] / js / util.js
index 6fabb1e13b1f65492746a3b410aa5a1ae85fe018..793626ed25bfd580374415bdd980d1e3ebceeae6 100644 (file)
@@ -1437,6 +1437,9 @@ var SN = { // StatusNet
                 // SN.Init.NoticeFormSetup() will get run
                 // when forms get displayed for the first time...
 
+                // Initially show Status tab
+                SN.U.switchInputFormTab("status");
+
                 // Make inline reply forms self-close when clicking out.
                 $('body').on('click', function (e) {
                     var currentForm = $('#content .input_forms div.current');
@@ -1476,7 +1479,6 @@ var SN = { // StatusNet
 
                 // Infield labels for notice form inputs.
                 $('.input_forms fieldset fieldset label').inFieldLabels({ fadeOpacity:0 });
-
             }
         },