mirror of https://github.com/lldap/lldap.git
parent
6cd6b412fe
commit
6d796df097
|
@ -43,6 +43,25 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<!--
|
||||
This will be displayed if the user doesn't have JavaScript enabled.
|
||||
-->
|
||||
LLDAP requires JavaScript, please switch to a compatible browser or enable
|
||||
it.
|
||||
</noscript>
|
||||
|
||||
<script>
|
||||
/* Detect if the user has WASM support. */
|
||||
if (typeof WebAssembly === 'undefined') {
|
||||
const pWASMMsg = document.createElement("p")
|
||||
pWASMMsg.innerHTML = `
|
||||
LLDAP requires WASM and JIT for JavaScript, please switch to a
|
||||
compatible browser or enable it.
|
||||
`
|
||||
document.body.appendChild(pWASMMsg)
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue