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 3385873 commit b685eb5Copy full SHA for b685eb5
src/index.html
@@ -160,12 +160,15 @@
160
})
161
162
// Show loading error.
163
- function onLoadError() {
164
- MainContent.innerHTML = "Failed to load. Please ensure you are using the browser which supports ES2015."
+ window.onerror = function onLoadError() {
+ MainContent.innerHTML = "Failed to load. Please ensure you are using a browser which supports ES2015."
165
MainContent.show()
166
}
167
</script>
168
- <script src="index.js" async onerror="onLoadError"></script>
+ <script src="index.js"></script>
169
+ <script>
170
+ window.onerror = null
171
+ </script>
172
</body>
173
174
</html>
0 commit comments