I'm an idiot. .attach not .apply...

This commit is contained in:
Kevin Dungs
2014-08-07 10:44:45 +02:00
parent 7c19dd93b4
commit 79cd2ad461
+1 -1
View File
@@ -8,7 +8,7 @@ var UI = (function () {
* Also introduce FastClick for faster clicking on mobile.
*/
$(function() {
FastClick.apply(document.body);
FastClick.attach(document.body);
var offset = 0;
var h = $(window).height();