add customr swipe
This commit is contained in:
parent
e44780379a
commit
5b88b82623
10 changed files with 223 additions and 13 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue