Closed Adidi closed 7 years ago
This related to: http://stackoverflow.com/questions/40186332/mootools-click-event-not-working-in-iphone-6 ?
https://jsfiddle.net/1oymyddf/
I am on iphone7 and using mootools 1.6, it fires correctly.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mootools/1.6.0/mootools-core.js"></script>
</head>
<body>
<script>
window.addEvent('domready', () => {
alert('Done')
});
</script>
</body>
</html>
so, which version of MooTools do you use?
iphone7 works fine for me. when I used with IOS6 (or iphone 6 - I am not really a fanboy to know this difference - i use android) i had this bug - had to switch to native DOMContentLoaded
for it to work again
Oh - and I use latest mootools 1.6
Checked it on iphone 6 in safari - if i set
window.addEvent('domready',callback);
thecallback
won't fire.