From 9456fc040d132d1b567e9b115ddbcd6e3308f41e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 11 Jan 2019 16:10:35 +0100 Subject: [PATCH] fix typo --- src/resizer/item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resizer/item.js b/src/resizer/item.js index 13932f9170..e0e1ff809c 100644 --- a/src/resizer/item.js +++ b/src/resizer/item.js @@ -69,7 +69,7 @@ export default class ResizeItem { setSize(size) { this.sizer.setItemSize(this.domNode, size); - const callback = this.resizer.distributorCtor.onResized; + const callback = this.resizer.distributorCfg.onResized; if (callback) { callback(size, this.id, this.domNode); } @@ -77,7 +77,7 @@ export default class ResizeItem { clearSize() { this.sizer.clearItemSize(this.domNode); - const callback = this.resizer.distributorCtor.onResized; + const callback = this.resizer.distributorCfg.onResized; if (callback) { callback(null, this.id, this.domNode); }