From 2f6e28f5e74f910f2e18586abc82eef167cbb8fd Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 3 Dec 2014 13:53:07 -0300 Subject: [PATCH] add faskclick --- Gruntfile.js | 1 + bower.json | 1 + js/routes.js | 1 + 3 files changed, 3 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 097f9689c..7deb818a3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -118,6 +118,7 @@ module.exports = function(grunt) { 'lib/lodash/dist/lodash.js', 'lib/bitcore.js', 'lib/file-saver/FileSaver.js', + 'lib/fastclick/lib/fastclick.js', 'lib/socket.io-client/socket.io.js', 'lib/sjcl.js', 'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js' diff --git a/bower.json b/bower.json index 719abb2ff..b3065ef29 100644 --- a/bower.json +++ b/bower.json @@ -24,6 +24,7 @@ "angular-load": "0.2.0", "lodash": "~2.4.1", "angular-gravatar": "*", + "fastclick": "*", "angular-touch": "~1.3.0" }, "resolutions": { diff --git a/js/routes.js b/js/routes.js index 12d8b93f2..1277e27fd 100644 --- a/js/routes.js +++ b/js/routes.js @@ -111,6 +111,7 @@ angular $keepaliveProvider.interval(30); // in seconds }) .run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) { + FastClick.attach(document.body); gettextCatalog.currentLanguage = config.defaultLanguage; // not for mobileApp if (!window.cordova) {