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 5
5
6
6
var config = {
7
7
deps : [
8
- 'Magento_Theme/js/responsive' ,
9
8
'Magento_Theme/js/theme'
10
9
]
11
10
} ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,21 +12,9 @@ define([
12
12
] , function ( $ , keyboardHandler ) {
13
13
'use strict' ;
14
14
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
-
25
15
$ ( '.cart-summary' ) . mage ( 'sticky' , {
26
16
container : '#maincontent'
27
17
} ) ;
28
18
29
- $ ( '.panel.header > .header.links' ) . clone ( ) . appendTo ( '#store\\.links' ) ;
30
-
31
19
keyboardHandler . apply ( ) ;
32
20
} ) ;
Original file line number Diff line number Diff line change 3
3
* See COPYING.txt for license details.
4
4
*/
5
5
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' ;
11
8
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