mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 10:11:39 +01:00
fix c/p error in disposables
This commit is contained in:
parent
abc99c2f0b
commit
e17fc57d9c
@ -1,5 +1,5 @@
|
||||
function disposeValue(value) {
|
||||
if (typeof d === "function") {
|
||||
if (typeof value === "function") {
|
||||
value();
|
||||
} else {
|
||||
value.dispose();
|
||||
|
Loading…
x
Reference in New Issue
Block a user