mirror of https://github.com/BTCPrivate/copay.git
add faskclick
This commit is contained in:
parent
3627671307
commit
2f6e28f5e7
|
@ -118,6 +118,7 @@ module.exports = function(grunt) {
|
||||||
'lib/lodash/dist/lodash.js',
|
'lib/lodash/dist/lodash.js',
|
||||||
'lib/bitcore.js',
|
'lib/bitcore.js',
|
||||||
'lib/file-saver/FileSaver.js',
|
'lib/file-saver/FileSaver.js',
|
||||||
|
'lib/fastclick/lib/fastclick.js',
|
||||||
'lib/socket.io-client/socket.io.js',
|
'lib/socket.io-client/socket.io.js',
|
||||||
'lib/sjcl.js',
|
'lib/sjcl.js',
|
||||||
'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js'
|
'lib/qrcode-decoder-js/lib/qrcode-decoder.min.js'
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
"angular-load": "0.2.0",
|
"angular-load": "0.2.0",
|
||||||
"lodash": "~2.4.1",
|
"lodash": "~2.4.1",
|
||||||
"angular-gravatar": "*",
|
"angular-gravatar": "*",
|
||||||
|
"fastclick": "*",
|
||||||
"angular-touch": "~1.3.0"
|
"angular-touch": "~1.3.0"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
|
|
@ -111,6 +111,7 @@ angular
|
||||||
$keepaliveProvider.interval(30); // in seconds
|
$keepaliveProvider.interval(30); // in seconds
|
||||||
})
|
})
|
||||||
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) {
|
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) {
|
||||||
|
FastClick.attach(document.body);
|
||||||
gettextCatalog.currentLanguage = config.defaultLanguage;
|
gettextCatalog.currentLanguage = config.defaultLanguage;
|
||||||
// not for mobileApp
|
// not for mobileApp
|
||||||
if (!window.cordova) {
|
if (!window.cordova) {
|
||||||
|
|
Loading…
Reference in New Issue