Last active
March 28, 2017 12:33
-
-
Save dmitriybevz2/e17aab9cfe329c708c2f5da27285e1b7 to your computer and use it in GitHub Desktop.
Кроссюраузерное решение для получения объекта события
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
element.onclick = function(event) { | |
event = event || window.event; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment