add customr swipe

This commit is contained in:
Matias Alejo Garcia 2015-04-29 12:08:16 -03:00
commit 5b88b82623
10 changed files with 223 additions and 13 deletions

View file

@ -112,7 +112,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
if (! document.getElementById('menu-' + tab) && ++tries<5) {
return $timeout(function() {
self.setTab(tab,reset);
self.setTab(tab,reset, tries);
}, 300);
}

View file

@ -379,7 +379,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
// on touchdown elements
$log.debug('Binding touchstart elements...');
['menu-walletHome', 'menu-send', 'menu-receive', 'menu-history'].forEach(function(id) {
['hamburger', 'menu-walletHome', 'menu-send', 'menu-receive', 'menu-history'].forEach(function(id) {
var e = document.getElementById(id);
if (e) e.addEventListener('touchstart', function() {
angular.element(e).triggerHandler('click');