History

Fix 'FastClick is not defined' error

Thibaut Courouble committed 9 years ago

Commit d6d7d451 parent 407814d1 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/layout/mobile.coffee+1−1
@@ -33,7 +33,7 @@ class app.views.Mobile extends app.View · 32 unmodified lines
3333 super
3434
3535 init: ->
36− FastClick.attach @body
36+ window.FastClick?.attach @body
3737
3838 $.on $('._search'), 'touchend', @onTapSearch
3939