Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7699 from bsclifton/keep-contribution-statement-open
Browse files Browse the repository at this point in the history
Don't auto-close Brave Payments statements
  • Loading branch information
bsclifton authored Mar 15, 2017
2 parents 131fce7 + a46ada0 commit 33ad7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/about/contributionStatement.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ class ContributionStatement extends ImmutableComponent {
if (transaction) {
this.setState({transaction: transaction})

// Pop up the save dialog (but don't close the statement)
if (!this.state.savedPDF) {
this.setState({savedPDF: true})
setTimeout(function () {
this.renderPdf()
window.close()
}.bind(this), 250)
}

Expand Down

0 comments on commit 33ad7cf

Please sign in to comment.