From db97efbaca5ff05e3f137bc667b4cdc7efb5b424 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 11 Feb 2015 18:11:25 +0300 Subject: [PATCH] Remove behavior difference between old and new API --- modules/mixins/DragDropMixin.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/mixins/DragDropMixin.js b/modules/mixins/DragDropMixin.js index 20fea0988b..061750ad1a 100644 --- a/modules/mixins/DragDropMixin.js +++ b/modules/mixins/DragDropMixin.js @@ -60,11 +60,7 @@ function callDragDropLifecycle(func, component, ...rest) { return func.apply(component, rest); } - return func.call( - null, - component.isMounted() ? component : null, - ...rest - ); + return func.call(null, component, ...rest); } var UNLIKELY_CHAR = String.fromCharCode(0xD83D, 0xDCA9),