Created
July 15, 2013 15:55
-
-
Save stefek99/6001075 to your computer and use it in GitHub Desktop.
Debugging mouse events is tricky as sometimes switching context to developer tools closes the popup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(e != null && e.type.indexOf("mouse") == -1) | |
{ | |
counter++; | |
} | |
if(counter == 4) | |
{ | |
debugger; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment