File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1181
1181
* Handler for the touch start event.
1182
1182
*/
1183
1183
function touchStartHandler ( event ) {
1184
+ //preventing default bouncing in iOS 10 #2285
1184
1185
event . preventDefault ( ) ;
1186
+
1187
+ //allowing to catch click events after preventing default #2338
1188
+ //http://stackoverflow.com/q/40094570/1081396
1189
+ $ ( event . target ) . trigger ( 'click' ) ;
1190
+
1185
1191
var e = event . originalEvent ;
1186
1192
1187
1193
//stopping the auto scroll to adjust to a section
1945
1951
}
1946
1952
1947
1953
destiny . addClass ( ACTIVE ) . siblings ( ) . removeClass ( ACTIVE ) ;
1948
-
1954
+
1949
1955
if ( ! v . localIsResizing ) {
1950
1956
stopMedia ( v . prevSlide ) ;
1951
1957
lazyLoad ( destiny ) ;
2945
2951
2946
2952
//off by default until the section gets active
2947
2953
iScrollInstance . wheelOff ( ) ;
2948
-
2954
+
2949
2955
$this . data ( 'iscrollInstance' , iScrollInstance ) ;
2950
2956
} ) ;
2951
2957
} ,
You can’t perform that action at this time.
0 commit comments