Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewards: optin button 'yes' does not work in firefox #447

Merged
Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -29,12 +29,12 @@ class Notification extends Component {
}

closeNotification(confirm) {
this.setState({
closed: true
});
if (typeof this.props.data.closeCallback === 'function') {
this.props.data.closeCallback(confirm);
}
this.setState({
closed: true
});
}

renderOptoutImage() {
@@ -192,11 +192,11 @@ class OfferCard extends Component {
sendMessage('ping', 'rewards_first_reject_optin');
this.closeOfferCard();
}
this.props.actions.messageBackground('rewardsPromptAccepted');
this.setState({
showPrompt: false,
shouldShowCross: true,
});
this.props.actions.messageBackground('rewardsPromptAccepted');
}

closeOfferCard() {
ProTip! Use n and p to navigate between commits in a pull request.