History

Remove FastClick library

From https://github.com/ftlabs/fastclick/blob/main/README.md > Note: As of late 2015 most mobile browsers - notably Chrome and Safari - no longer have a 300ms touch delay, so fastclick offers no benefit on newer browsers, and risks introducing bugs into your application. Consider carefully whether you really need to use it.

Simon Legner committed 4 years ago

Commit 61ab7f61 parent 5ca406d2 files · +0 −843Browse files

Showing the changes to assets/javascripts/views (1 of 2 files). Show all

Unified · Split

assets/javascripts/views/layout/mobile.coffee+0−2
@@ -38,8 +38,6 @@ class app.views.Mobile extends app.View · 37 unmodified lines
38 super38 super
39 39
40 init: ->40 init: ->
41 window.FastClick?.attach @body
42
43 $.on $('._search'), 'touchend', @onTapSearch41 $.on $('._search'), 'touchend', @onTapSearch
44 42
45 @toggleSidebar = $('button[data-toggle-sidebar]')43 @toggleSidebar = $('button[data-toggle-sidebar]')