From d6d7d450bd601620a165d0f607733fccf9cd5c38 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 5 Mar 2017 11:03:21 -0500 Subject: [PATCH] Fix 'FastClick is not defined' error --- assets/javascripts/views/layout/mobile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/views/layout/mobile.coffee b/assets/javascripts/views/layout/mobile.coffee index 413d568f..8706eae6 100644 --- a/assets/javascripts/views/layout/mobile.coffee +++ b/assets/javascripts/views/layout/mobile.coffee @@ -33,7 +33,7 @@ class app.views.Mobile extends app.View super init: -> - FastClick.attach @body + window.FastClick?.attach @body $.on $('._search'), 'touchend', @onTapSearch