mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-18 10:51:54 +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();
|
resolve();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onAccountData(ev) {
|
function onAccountData(ev) {
|
||||||
if (satisfiesCondition(currentAccountDataEvent)) {
|
if (eventInIntendedState(currentAccountDataEvent)) {
|
||||||
MatrixClientPeg.get().removeListener('accountData', onAccountData);
|
MatrixClientPeg.get().removeListener('accountData', onAccountData);
|
||||||
clearTimeout(timerId);
|
clearTimeout(timerId);
|
||||||
resolve();
|
resolve();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user