Fix global variable declarations

This commit is contained in:
Saivann 2015-07-07 16:27:17 -04:00
parent 5707cea630
commit be18e564c9
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ var timeout = 1000,
// This avoids accidental clicks when the page is scrolled or updated due to the 300ms click event delay on mobiles.
removeEvent(document.body, 'click', wrongClickListener);
if (!clickReady() && getEventTarget(e) != t) cancelEvent(e);
}
},
setClickTimeout = function() {
// Update timeout during which click events will be blocked.
document.body.setAttribute('data-touchtimeout', new Date().getTime() + timeout);

View file

@ -373,7 +373,7 @@ var t = getEventTarget(e),
removeClass(wallets[i], 'active');
}
removeEvent(document.body, 'click', walletListener);
};
};
// Call appropriate function on click.
onTouchClick(e, function() {
walletHide();