mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Fix global variable declarations
This commit is contained in:
parent
5707cea630
commit
be18e564c9
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue