rebind touch screen elements
This commit is contained in:
parent
769262f06b
commit
897c5185d8
2 changed files with 24 additions and 15 deletions
|
|
@ -506,19 +506,6 @@ angular
|
|||
importLegacy: 12
|
||||
};
|
||||
|
||||
// on touchdown elements
|
||||
if (document) {
|
||||
setTimeout(function() {
|
||||
$log.debug('Binding touchstart elements...');
|
||||
['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');
|
||||
});
|
||||
})
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
$rootScope.$on('$stateChangeSuccess', function() {
|
||||
$rootScope.$emit('Animation/Disable');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue