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:
Robin Ward
2013-02-26 10:47:23 -05:00
parent 1221c393a3
commit 88267429c5
4 changed files with 2 additions and 686 deletions

View File

@ -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;