fix group demo to work with Olm.init()
This commit is contained in:
parent
14c1db02fe
commit
ddd140b23d
1 changed files with 5 additions and 1 deletions
|
@ -489,4 +489,8 @@ function startDemo() {
|
|||
}
|
||||
|
||||
|
||||
document.addEventListener("DOMContentLoaded", startDemo, false);
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
Olm.init().then(function() {
|
||||
startDemo();
|
||||
});
|
||||
}, false);
|
||||
|
|
Loading…
Reference in a new issue