This commit is contained in:
Alexey 2020-02-05 22:44:44 +03:00
parent ea25857d49
commit 5c53523e0d

View File

@ -119,7 +119,7 @@ export default {
}, },
methods: { methods: {
makeTweet() { makeTweet() {
const tweetText = `Just make the contribution %23${this.contributionIndex} to Tornado.cash trusted setup ceremony! 🚀` const tweetText = `Just made the contribution %23${this.contributionIndex} to Tornado.cash Trusted Setup Ceremony! 🚀`
const popUpWindowWidth = 600 const popUpWindowWidth = 600
const popUpWindowHeight = 250 const popUpWindowHeight = 250
const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screenX const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screenX
@ -174,7 +174,7 @@ export default {
body: formData body: formData
}) })
if (resp.ok) { if (resp.ok) {
this.status.msg = 'Your contribution is verified and recorded. THX BYE.' this.status.msg = 'Your contribution is verified and recorded. Thank you.'
this.status.type = 'is-success' this.status.type = 'is-success'
const responseData = await resp.json() const responseData = await resp.json()
this.contributionIndex = responseData.contributionIndex this.contributionIndex = responseData.contributionIndex