Skip to content

Commit

Permalink
Fix StripeForm
Browse files Browse the repository at this point in the history
  • Loading branch information
ruskid authored Apr 14, 2019
1 parent ba69e0c commit f2233c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StripeForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ public function init() {
* Will show the Stripe's simple form modal
*/
public function run() {
parent::run();

$this->registerFormScripts();
if ($this->applyJqueryPaymentFormat || $this->applyJqueryPaymentValidation) {
$this->registerJqueryPaymentScripts();
}

return parent::run();
}

/**
Expand Down

0 comments on commit f2233c3

Please sign in to comment.