Fix MessageBox scroll stutter when state updates while close to the bottom

This commit is contained in:
Ken-Håvard Lieng 2019-02-08 09:28:55 +01:00
parent c1e1f2c327
commit 7ad76273c0
7 changed files with 109 additions and 86 deletions

View file

@ -24,8 +24,8 @@ function registerValidSW(swUrl, config) {
config.onUpdate(registration);
}
} else if (config && config.onSuccess) {
config.onSuccess(registration);
}
config.onSuccess(registration);
}
}
};
};