mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #2502 from fabiomcosta/patch-4
Removing unecessary resize listener
This commit is contained in:
@@ -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