mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
remove old code that was blocking resubs
This commit is contained in:
parent
3bb3312831
commit
0562c549b3
1 changed files with 0 additions and 5 deletions
|
@ -13,10 +13,6 @@
|
||||||
|
|
||||||
var signupform = $(event.target)
|
var signupform = $(event.target)
|
||||||
|
|
||||||
<% if current_site && parent_site.stripe_subscription_id && !request.path.match(/\/settings/) %>
|
|
||||||
return true
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
var planError = $('#plan_error')
|
var planError = $('#plan_error')
|
||||||
planError.css('display', 'none')
|
planError.css('display', 'none')
|
||||||
signupform.find(':submit').prop('disabled', true)
|
signupform.find(':submit').prop('disabled', true)
|
||||||
|
@ -27,7 +23,6 @@
|
||||||
exp_month: $('[name="cc_exp_month"]').val(),
|
exp_month: $('[name="cc_exp_month"]').val(),
|
||||||
exp_year: $('[name="cc_exp_year"]').val()
|
exp_year: $('[name="cc_exp_year"]').val()
|
||||||
}, function(status, response) {
|
}, function(status, response) {
|
||||||
console.log(response)
|
|
||||||
if(response.error) {
|
if(response.error) {
|
||||||
planError.text(response.error.message)
|
planError.text(response.error.message)
|
||||||
planError.css('display', 'block')
|
planError.css('display', 'block')
|
||||||
|
|
Loading…
Add table
Reference in a new issue