Skip to content

Commit ee52bbe

Browse files
author
OlgaVasyltsun
committed
MC-19084: Browser console error after applying gift card account during checkout
1 parent d525030 commit ee52bbe

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ define([
1313
'jquery-ui-modules/widget',
1414
'mage/decorate',
1515
'mage/collapsible',
16-
'mage/cookies'
16+
'mage/cookies',
17+
'jquery-ui-modules/effect-fade'
1718
], function ($, authenticationPopup, customerData, alert, confirm, _) {
1819
'use strict';
1920

app/code/Magento/Ui/view/frontend/web/js/view/messages.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ define([
1010
'ko',
1111
'jquery',
1212
'uiComponent',
13-
'../model/messageList'
13+
'../model/messageList',
14+
'jquery-ui-modules/effect-blind'
1415
], function (ko, $, Component, globalMessages) {
1516
'use strict';
1617

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_checkout.less

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,28 @@
7878
}
7979

8080
.abs-discount-code {
81-
.actions-toolbar {
82-
display: table-cell;
83-
vertical-align: top;
84-
width: 1%;
85-
86-
.primary {
87-
float: left;
88-
.action {
89-
&:extend(.abs-revert-to-action-secondary all);
90-
border-bottom-left-radius: 0;
91-
border-top-left-radius: 0;
92-
margin: 0 0 0 -2px;
93-
white-space: nowrap;
94-
width: auto;
95-
}
96-
}
97-
}
98-
.form-discount {
81+
.form-discount {
9982
display: table;
10083
width: 100%;
101-
84+
85+
.actions-toolbar {
86+
display: table-cell;
87+
vertical-align: top;
88+
width: 1%;
89+
90+
.primary {
91+
float: left;
92+
.action {
93+
&:extend(.abs-revert-to-action-secondary all);
94+
border-bottom-left-radius: 0;
95+
border-top-left-radius: 0;
96+
margin: 0 0 0 -2px;
97+
white-space: nowrap;
98+
width: auto;
99+
}
100+
}
101+
}
102+
102103
> .field {
103104
> .label {
104105
display: none;

lib/web/jquery/ui-modules/effect-fade.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
* http://jquery.org/license
88
*
99
* http://api.jqueryui.com/fade-effect/
10-
*
11-
* Depends:
12-
* jquery.ui.effect.js
1310
*/
1411

1512
define([

0 commit comments

Comments
 (0)