From: Mikael Nordfeldth Date: Fri, 6 Mar 2015 23:00:02 +0000 (+0100) Subject: No need for NoticeFormMaster anymore X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=503c05b74941c9274b8374876013d2f6ffa925a3;p=quix0rs-gnu-social.git No need for NoticeFormMaster anymore --- diff --git a/js/util.js b/js/util.js index 1ed69be28e..56aaf1f6f9 100644 --- a/js/util.js +++ b/js/util.js @@ -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();