Skip to content

Commit

Permalink
Bug fix in JS file for opening the Payment Window
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanWLie committed May 27, 2020
1 parent f00e751 commit b74a0d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bambora-online-classic/bambora-online-classic.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Bambora Online ePay
* Plugin URI: https://www.epay.dk
* Description: Bambora Online ePay payment gateway for WooCommerce
* Version: 5.1.1
* Version: 5.1.2
* Author: Bambora Online
* Author URI: https://www.epay.dk/epay-payment-solutions
* Text Domain: bambora-online-classic
Expand All @@ -13,7 +13,7 @@
*/

define( 'BOCLASSIC_PATH', dirname( __FILE__ ) );
define( 'BOCLASSIC_VERSION', '5.1.1' );
define( 'BOCLASSIC_VERSION', '5.1.2' );

add_action( 'plugins_loaded', 'init_bambora_online_classic', 0 );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function openPaymentWindow() {
}
}

document.addEventListener('readystatechange', function (e) {
document.addEventListener('readystatechange', function (event) {
if (event.target.readyState === "complete") {
timerOpenWindow = setInterval("openPaymentWindow()", 500);
}
Expand Down

0 comments on commit b74a0d3

Please sign in to comment.