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 8cca865 commit 947c1ccCopy full SHA for 947c1cc
core/src/unsupported-browser-redirect.js
@@ -19,8 +19,9 @@
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
-import { testSupportedBrowser } from './utils/RedirectUnsupportedBrowsers.js'
23
-
24
if (!window.TESTING && !OC?.config?.no_unsupported_browser_warning) {
25
- testSupportedBrowser()
+ window.addEventListener('DOMContentLoaded', async function() {
+ const { testSupportedBrowser } = await import('./utils/RedirectUnsupportedBrowsers.js')
+ testSupportedBrowser()
26
+ })
27
}
0 commit comments