mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #2502 from fabiomcosta/patch-4
Removing unecessary resize listener
This commit is contained in:
commit
1428ea7823
1 file changed
-1
@@ -157,7 +157,6 @@ var ReactEventListener = {
|
||||
monitorScrollValue: function(refresh) {
|
||||
var callback = scrollValueMonitor.bind(null, refresh);
|
||||
EventListener.listen(window, 'scroll', callback);
|
||||
EventListener.listen(window, 'resize', callback);
|
||||
},
|
||||
|
||||
dispatchEvent: function(topLevelType, nativeEvent) {
|
||||
|
||||
Reference in new issue
Block a user