a
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="favicon.js"></script>
|
<script src="favicon.js"></script>
|
||||||
<script src="sha1.min.js"></script>
|
<script src="sha1.min.js"></script>
|
||||||
<script src="openpgp.min.js"></script>
|
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
height: 95%;
|
height: 95%;
|
||||||
@@ -54,9 +53,12 @@
|
|||||||
<img src="pgp.png">
|
<img src="pgp.png">
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
<script src="openpgp.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
if (typeof openpgp.config === "object") {
|
if (typeof openpgp.config === "object") {
|
||||||
document.getElementById('worksCheck').insertAdjacentHTML('beforeend', '<br><div class="alert alert-success" role="alert">' + openpgp.config.versionstring + ' is functioning.</div>');
|
document.getElementById('worksCheck').insertAdjacentHTML('beforeend', '<br><div class="alert alert-success" role="alert">' + openpgp.config.versionstring + ' is functioning.</div>');
|
||||||
|
} else {
|
||||||
|
document.getElementById('worksCheck').insertAdjacentHTML('beforeend', '<br><div class="alert alert-success" role="alert">OpenPGP.js won\'t start.</div>');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user