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