File tree Expand file tree Collapse file tree 2 files changed +36
-24
lines changed Expand file tree Collapse file tree 2 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * fullPage 2.2.6
2
+ * fullPage 2.2.7
3
3
* https://github.com/alvarotrigo/fullPage.js
4
4
* MIT licensed
5
5
*
74
74
'height' : '100%'
75
75
} ) ;
76
76
77
+ //for IE touch devices
78
+ container . css ( {
79
+ '-ms-touch-action' : 'none' ,
80
+ 'touch-action' : 'none'
81
+ } ) ;
82
+
77
83
if ( element . length ) {
78
84
//moving the container up
79
85
silentScroll ( element . position ( ) . top ) ;
85
91
'height' : 'initial'
86
92
} ) ;
87
93
94
+ //for IE touch devices
95
+ container . css ( {
96
+ '-ms-touch-action' : '' ,
97
+ 'touch-action' : ''
98
+ } ) ;
99
+
88
100
silentScroll ( 0 ) ;
89
101
90
102
//scrolling the page to the section with no animation
155
167
if ( $ ( this ) . length ) {
156
168
container . css ( {
157
169
'height' : '100%' ,
158
- 'position' : 'relative' ,
159
- '-ms-touch-action' : 'none'
170
+ 'position' : 'relative'
160
171
} ) ;
161
172
162
173
//adding a class to recognize the container internally in the code
1610
1621
container . css ( {
1611
1622
'height' : '' ,
1612
1623
'position' : '' ,
1613
- '-ms-touch-action' : ''
1624
+ '-ms-touch-action' : '' ,
1625
+ 'touch-action' : ''
1614
1626
} ) ;
1615
1627
1616
1628
//removing added classes
You can’t perform that action at this time.
0 commit comments