replace alert bodals with toasts

This commit is contained in:
arcanis committed 2022-12-09 11:33:19 +02:00
1 parent 2d5b73c6dc
commit 7df4adfc9d
13 files changed
+89 -101

No files matched your search

@@ -30,4 +30,12 @@
button.html("<i class=\"bi bi-clipboard\"></i> copy");
}, 2000);
}
function safe(string) {
return String(string)
.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;");
}
</script>
@@ -18,7 +18,7 @@
position: relative;
}
pre[class*="language-"] button{
pre[class*="language-"] button {
position: absolute;
top: 0;
right: 5px;