mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
fix typo
This commit is contained in:
parent
92b9a8cc1f
commit
9456fc040d
@ -69,7 +69,7 @@ export default class ResizeItem {
|
|||||||
|
|
||||||
setSize(size) {
|
setSize(size) {
|
||||||
this.sizer.setItemSize(this.domNode, size);
|
this.sizer.setItemSize(this.domNode, size);
|
||||||
const callback = this.resizer.distributorCtor.onResized;
|
const callback = this.resizer.distributorCfg.onResized;
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(size, this.id, this.domNode);
|
callback(size, this.id, this.domNode);
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ export default class ResizeItem {
|
|||||||
|
|
||||||
clearSize() {
|
clearSize() {
|
||||||
this.sizer.clearItemSize(this.domNode);
|
this.sizer.clearItemSize(this.domNode);
|
||||||
const callback = this.resizer.distributorCtor.onResized;
|
const callback = this.resizer.distributorCfg.onResized;
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(null, this.id, this.domNode);
|
callback(null, this.id, this.domNode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user