You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
while my code is below, the handler will execute multiple times.
But In fact, I only need to execute it once
document.addEventListener('DOMContentLoaded',function(){document.body.onclick=function(){// do somethingdocument.body.onclick=null}FastClick.attach(document.body);},false);
The text was updated successfully, but these errors were encountered:
borenXue
changed the title
layer.onclick re-assignment but internal variable: oldOnClick not update
while layer.onclick set to null int the handler, but the handler still execute.
Jan 6, 2018
borenXue
changed the title
while layer.onclick set to null int the handler, but the handler still execute.
while layer.onclick set to null in the handler, but the handler still execute.
Jan 6, 2018
borenXue
pushed a commit
to borenXue/fastclick
that referenced
this issue
Jan 6, 2018
while my code is below, the handler will execute multiple times.
But In fact, I only need to execute it once
The text was updated successfully, but these errors were encountered: