Skip to content

Commit

Permalink
Update ember-cli-fastclick.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hakubo authored and spieker committed Sep 14, 2017
1 parent 5b1f640 commit 0d48e8d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/initializers/ember-cli-fastclick.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ let EmberCliFastclickInitializer = {
name: 'fastclick',

initialize() {
schedule('afterRender', function() {
FastClick.attach(document.body);
});
if (typeof FastBoot === 'undefined') {
schedule('afterRender', function() {
FastClick.attach(document.body);
});
}
}
};

Expand Down

0 comments on commit 0d48e8d

Please sign in to comment.