mirror of https://github.com/vector-im/riot-web
Don't require a non-null container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
60e47c759d
commit
9377548630
|
@ -61,10 +61,6 @@ export default class Resizer<C extends IConfig = IConfig> {
|
|||
},
|
||||
public readonly config?: C,
|
||||
) {
|
||||
if (!container) {
|
||||
throw new Error("Resizer requires a non-null `container` arg");
|
||||
}
|
||||
|
||||
this.classNames = {
|
||||
handle: "resizer-handle",
|
||||
reverse: "resizer-reverse",
|
||||
|
|
Loading…
Reference in New Issue