diff --git a/examples/mobile-full-screen.js b/examples/mobile-full-screen.js index 22967b7bb6..7d938b267a 100644 --- a/examples/mobile-full-screen.js +++ b/examples/mobile-full-screen.js @@ -37,6 +37,6 @@ geolocation.once('change:position', function() { // and the firing of a click event on mobile browsers. // See http://updates.html5rocks.com/2013/12/300ms-tap-delay-gone-away // for more information. -$(function() { +document.addEventListener('DOMContentLoaded', function() { FastClick.attach(document.body); });