mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
don't assume config
This commit is contained in:
parent
c1e602d56f
commit
a910f46c5b
@ -27,7 +27,7 @@ class FixedDistributor {
|
||||
this.sizer = sizer;
|
||||
this.item = item;
|
||||
this.beforeOffset = sizer.getItemOffset(this.item);
|
||||
this.onResized = config.onResized;
|
||||
this.onResized = config && config.onResized;
|
||||
}
|
||||
|
||||
resize(offset) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user