Skip to content

Commit

Permalink
Added fastclick.js to the apps. This will ignore the 300ms delay from…
Browse files Browse the repository at this point in the history
… a click is registered until action is taken
  • Loading branch information
mortnod committed Jan 31, 2015
1 parent 9338757 commit 47b3451
Show file tree
Hide file tree
Showing 3 changed files with 843 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = function(grunt) {
'js/libs/handlebars.runtime-v1.3.0.js',
'js/libs/jquery.leanModal.min.js',
'js/libs/modernizr.js',
'js/libs/fastclick.js',
'js/templates.js',
'js/card.js',
'js/modal.js',
Expand Down
1 change: 1 addition & 0 deletions js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
document.addEventListener('deviceready', function(){
init();
fixStatusBarIniOS7();
FastClick.attach(document.body);
}, true);
// @endif

Expand Down
Loading

0 comments on commit 47b3451

Please sign in to comment.