Skip to content

Commit

Permalink
PES-764: calling library-hd.js from new destination (#208)
Browse files Browse the repository at this point in the history
* PES-764: calling library-hd.js from new destination

* PES-764: change_log update
  • Loading branch information
JaroslavNaleznyPacketa authored Apr 21, 2022
1 parent 1c31796 commit 337407e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packetery/CHANGE_LOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
modes of operation. Validated address is saved and used in exports.
- Fixed: correct storage of chosen pickup point's currency
- Fixed: type error raised after SQL error in Packeta orders list
- Updated: Widget HD library URL
2.1.14 - Fixed: treated a rare situation where the payment module cannot be instantiated
- Fixed: functionality of Packeta widget button in KnowBand SuperCheckout when no shipping method is preselected
- Fixed: deprecated hook backOfficeHeader replaced by displayBackOfficeHeader
Expand Down
2 changes: 1 addition & 1 deletion packetery/views/js/back.js
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ $(document).ready(function(){
$(document).ready(function () {
var $widgetHdButton = $('.open-packeta-hd-widget');
if ($widgetHdButton.length === 1) {
$.getScript('https://widget-hd.packeta.com/www/js/library-hd.js').fail(function () {
$.getScript('https://hd.widget.packeta.com/www/js/library-hd.js').fail(function () {
console.error('Unable to load Packeta home delivery widget.');
});

Expand Down
2 changes: 1 addition & 1 deletion packetery/views/js/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $.getScript("https://widget.packeta.com/v6/www/js/library.js")
console.error('Unable to load Packeta Widget.');
});

$.getScript('https://widget-hd.packeta.com/www/js/library-hd.js').fail(function () {
$.getScript('https://hd.widget.packeta.com/www/js/library-hd.js').fail(function () {
console.error('Unable to load Packeta home delivery widget.');
});

Expand Down

0 comments on commit 337407e

Please sign in to comment.