diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index dfbfe8ca2..5ed56c3b4 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -8835,7 +8835,7 @@ } } }; - QR.req = $.ajax($.id('postForm').parentNode.action, options, extra); + QR.req = $.ajax("//sys.4chan.org/" + g.BOARD + "/post", options, extra); QR.req.uploadStartTime = Date.now(); QR.req.progress = '...'; return QR.status(); diff --git a/builds/crx/script.js b/builds/crx/script.js index dca6dffc8..7ab693e49 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -8826,7 +8826,7 @@ } } }; - QR.req = $.ajax($.id('postForm').parentNode.action, options, extra); + QR.req = $.ajax("//sys.4chan.org/" + g.BOARD + "/post", options, extra); QR.req.uploadStartTime = Date.now(); QR.req.progress = '...'; return QR.status(); diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 7757c5d7e..0c4ba8a46 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -593,7 +593,7 @@ QR = QR.req.progress = "#{Math.round e.loaded / e.total * 100}%" QR.status() - QR.req = $.ajax $.id('postForm').parentNode.action, options, extra + QR.req = $.ajax "//sys.4chan.org/#{g.BOARD}/post", options, extra # Starting to upload might take some time. # Provide some feedback that we're starting to submit. QR.req.uploadStartTime = Date.now()