mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
fix typo
This commit is contained in:
parent
92b9a8cc1f
commit
9456fc040d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user