File tree Expand file tree Collapse file tree 4 files changed +6
-109
lines changed
app/design/frontend/Magento/blank/Magento_Theme Expand file tree Collapse file tree 4 files changed +6
-109
lines changed Original file line number Diff line number Diff line change 55
66var config = {
77 deps : [
8- 'Magento_Theme/js/responsive' ,
98 'Magento_Theme/js/theme'
109 ]
1110} ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,21 +12,9 @@ define([
1212] , function ( $ , keyboardHandler ) {
1313 'use strict' ;
1414
15- if ( $ ( 'body' ) . hasClass ( 'checkout-cart-index' ) ) {
16- if ( $ ( '#co-shipping-method-form .fieldset.rates' ) . length > 0 &&
17- $ ( '#co-shipping-method-form .fieldset.rates :checked' ) . length === 0
18- ) {
19- $ ( '#block-shipping' ) . on ( 'collapsiblecreate' , function ( ) {
20- $ ( '#block-shipping' ) . collapsible ( 'forceActivate' ) ;
21- } ) ;
22- }
23- }
24-
2515 $ ( '.cart-summary' ) . mage ( 'sticky' , {
2616 container : '#maincontent'
2717 } ) ;
2818
29- $ ( '.panel.header > .header.links' ) . clone ( ) . appendTo ( '#store\\.links' ) ;
30-
3119 keyboardHandler . apply ( ) ;
3220} ) ;
Original file line number Diff line number Diff line change 33 * See COPYING.txt for license details.
44 */
55
6- /* eslint-disable strict */
7- ( function ( ) {
8- var userAgent = navigator . userAgent , // user agent identifier
9- html = document . documentElement , // html tag
10- gap = '' ; // gap between classes
6+ define ( [ ] , function ( ) {
7+ 'use strict' ;
118
12- if ( html . className ) { // check if neighbour class exist in html tag
13- gap = ' ' ;
14- } // end if
15-
16- if ( userAgent . match ( / T r i d e n t .* r v [ : ] * 1 1 \. / ) ) { // Special case for IE11
17- html . className += gap + 'ie11' ;
18- } // end if
19-
20- } ) ( ) ;
9+ if ( navigator . userAgent . match ( / T r i d e n t .* r v [ : ] * 1 1 \. / ) ) {
10+ document . documentElement . classList . add ( 'ie11' ) ;
11+ }
12+ } ) ;
You can’t perform that action at this time.
0 commit comments