File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
app/code/Magento/Checkout/view/frontend/web Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ define([
42
42
update : function ( ) {
43
43
$ ( this . options . targetElement ) . trigger ( 'contentUpdated' ) ;
44
44
this . _calcHeight ( ) ;
45
- this . _isOverflowed ( ) ;
46
45
} ,
47
46
48
47
/**
@@ -135,23 +134,6 @@ define([
135
134
136
135
this . _on ( this . element , events ) ;
137
136
this . _calcHeight ( ) ;
138
- this . _isOverflowed ( ) ;
139
- } ,
140
-
141
- /**
142
- * Add 'overflowed' class to minicart items wrapper element
143
- *
144
- * @private
145
- */
146
- _isOverflowed : function ( ) {
147
- var list = $ ( this . options . minicart . list ) ,
148
- cssOverflowClass = 'overflowed' ;
149
-
150
- if ( this . scrollHeight > list . innerHeight ( ) ) {
151
- list . parent ( ) . addClass ( cssOverflowClass ) ;
152
- } else {
153
- list . parent ( ) . removeClass ( cssOverflowClass ) ;
154
- }
155
137
} ,
156
138
157
139
/**
Original file line number Diff line number Diff line change 15
15
</ strong >
16
16
</ div >
17
17
< div class ="content minicart-items " data-role ="content ">
18
- < div class ="minicart-items-wrapper overflowed ">
18
+ < div class ="minicart-items-wrapper ">
19
19
< ol class ="minicart-items ">
20
20
< each args ="items() ">
21
21
< li class ="product-item ">
You can’t perform that action at this time.
0 commit comments