]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
No need for NoticeFormMaster anymore
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 6 Mar 2015 23:00:02 +0000 (00:00 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 6 Mar 2015 23:00:02 +0000 (00:00 +0100)
js/util.js

index 1ed69be28e80465820dc6d062784d46bf1a9d8b9..56aaf1f6f993e7139895b157f7e0d562db38932c 100644 (file)
@@ -32,7 +32,6 @@ var SN = { // StatusNet
             MaxLength: 140,
             PatternUsername: /^[0-9a-zA-Z\-_.]*$/,
             HTTP20x30x: [200, 201, 202, 203, 204, 205, 206, 300, 301, 302, 303, 304, 305, 306, 307],
-            NoticeFormMaster: null // to be cloned from the one at top
         },
 
         /**
@@ -1444,10 +1443,6 @@ var SN = { // StatusNet
          */
         Notices: function () {
             if ($('body.user_in').length > 0) {
-                var masterForm = $('.form_notice:first');
-                if (masterForm.length > 0) {
-                    SN.C.I.NoticeFormMaster = document._importNode(masterForm[0], true);
-                }
                 SN.U.NoticeRepeat();
                 SN.U.NoticeReply();
                 SN.U.NoticeInlineReplySetup();