We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d1d5ec + 1f609fc commit 920e205Copy full SHA for 920e205
lib/web/fotorama/fotorama.js
@@ -1218,6 +1218,14 @@ fotoramaVersion = '4.6.4';
1218
}
1219
1220
function stubEvent($el, eventType) {
1221
+ var isIOS = /ip(ad|hone|od)/i.test(window.navigator.userAgent);
1222
+
1223
+ if (isIOS && eventType === 'touchend') {
1224
+ $el.on('touchend', function(e){
1225
+ $DOCUMENT.trigger('mouseup', e);
1226
+ })
1227
+ }
1228
1229
$el.on(eventType, function (e) {
1230
stopEvent(e, true);
1231
0 commit comments