Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Use the correct CSS selector to find out if names are required #267

Merged

Conversation

koddsson
Copy link
Contributor

@koddsson koddsson commented Oct 7, 2016

The selector #register_names doesn't seem to be in the DOM.

This change replaces that check with one that checks for the value of the hidden input named action. If that value is register_names we make sure to collect the names and add them to the AJAX response to the server.

Fixes #86

The selector `#register_names` doesn't seem to be in the DOM.

This change replaces that check with one that checks for the
value of the hidden input named `action`. If that value is
`register_names` we make sure to collect the names and add
them to the AJAX response to the server.

Fixes facebookarchive#86
@javuto
Copy link
Contributor

javuto commented Oct 31, 2016

Thanks for the PR! I verified the fix and it makes the registration to collect the names and emails.

@javuto javuto merged commit d59809e into facebookarchive:master Oct 31, 2016
@javuto javuto mentioned this pull request Oct 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants