Skip to content

Commit

Permalink
Merged in SC-173 (pull request sveawebpay#55)
Browse files Browse the repository at this point in the history
SC-173 Update 2.4.6 js fix

* SC-173 Update 2.4.6 js fix
  • Loading branch information
sergiunwt committed Mar 29, 2023
1 parent 6fb2e0a commit 909e958
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sveawebpay/nwt-magento2-checkout",
"description": "Svea Checkout",
"type": "magento2-module",
"version": "1.3.6",
"version": "1.3.7",
"autoload": {
"files": [
"registration.php"
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ define([
for (var block in blocks) {
if (blocks.hasOwnProperty(block)) {
div = jQuery('#svea-checkout_' + block);
if (div.size() > 0) {
if (div.length > 0) {
div.replaceWith(blocks[block]);
this._bindEvents(block);
}
Expand Down

0 comments on commit 909e958

Please sign in to comment.