mirror of
https://github.com/flarum/core.git
synced 2025-08-07 17:07:19 +02:00
Remove FastClick. Fixes #1268
Turns out FastClick was causing textareas to be buggy on iOS Safari, and it wasn't really doing any good.
This commit is contained in:
@@ -23,7 +23,6 @@ gulp({
|
||||
|
||||
bowerDir + '/spin.js/spin.js',
|
||||
bowerDir + '/spin.js/jquery.spin.js',
|
||||
bowerDir + '/fastclick/lib/fastclick.js',
|
||||
bowerDir + '/punycode/index.js'
|
||||
],
|
||||
modules: {
|
||||
|
@@ -78,11 +78,7 @@ export default function boot(app) {
|
||||
.toggleClass('scrolled', top > offset);
|
||||
}).start();
|
||||
|
||||
// Initialize FastClick, which makes links and buttons much more responsive on
|
||||
// touch devices.
|
||||
$(() => {
|
||||
FastClick.attach(document.body);
|
||||
|
||||
$('body').addClass('ontouchstart' in window ? 'touch' : 'no-touch');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user