mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 18:32:20 +02:00
Rename uses of function too
This commit is contained in:
parent
e4a221e42d
commit
fadf264a1b
@ -311,13 +311,13 @@ function waitForUserWidget(widgetId, add) {
|
||||
}
|
||||
}
|
||||
|
||||
if (satisfiesCondition(currentAccountDataEvent)) {
|
||||
if (eventInIntendedState(currentAccountDataEvent)) {
|
||||
resolve();
|
||||
return;
|
||||
}
|
||||
|
||||
function onAccountData(ev) {
|
||||
if (satisfiesCondition(currentAccountDataEvent)) {
|
||||
if (eventInIntendedState(currentAccountDataEvent)) {
|
||||
MatrixClientPeg.get().removeListener('accountData', onAccountData);
|
||||
clearTimeout(timerId);
|
||||
resolve();
|
||||
|
Loading…
x
Reference in New Issue
Block a user