mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Remove fastclick for now -- we saw some regressions on iPad and want to make sure they weren't caused by
it.
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
/*global Modernizr:true*/
|
||||
/*global assetPath:true*/
|
||||
/*global FastClick:true*/
|
||||
|
||||
var csrf_token;
|
||||
|
||||
@ -148,13 +147,6 @@ Discourse = Ember.Application.createWithMixins({
|
||||
this.touch = true;
|
||||
this.hasTouch = true;
|
||||
|
||||
$LAB.script(assetPath('defer/fastclick'))
|
||||
.wait(function(){
|
||||
// work around jshint hating side-effects
|
||||
// its just the way the FastClick api is
|
||||
var ignore = new FastClick(document.body);
|
||||
});
|
||||
|
||||
} else {
|
||||
$html.addClass('discourse-no-touch');
|
||||
this.touch = false;
|
||||
|
Reference in New Issue
Block a user