mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Improving never seen error message
Removing repeating "support it" and fixing camelCase method name
This commit is contained in:
Vendored
+2
-2
@@ -46,8 +46,8 @@ var EventListener = {
|
||||
if (!el.addEventListener) {
|
||||
if (__DEV__) {
|
||||
console.error(
|
||||
'You are attempting to use addEventlistener ' +
|
||||
'in a browser that does not support it support it.' +
|
||||
'You are attempting to use addEventListener ' +
|
||||
'in a browser that does not support it.' +
|
||||
'This likely means that you will not receive events that ' +
|
||||
'your application relies on (such as scroll).');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user