We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afb3cd commit adc0344Copy full SHA for adc0344
datafiles/static/browse.js
@@ -399,4 +399,7 @@ export const appendRating = async (evt) => {
399
await submitSearch();
400
};
401
402
-await refresh();
+// Avoid top-level await since as of Apr 2022 it only has 84% penetration:
403
+// https://caniuse.com/?search=top%20level%20await
404
+// We don't need the result anyway.
405
+refresh();
0 commit comments