mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-08-28 04:19:57 +00:00
replace alert bodals with toasts
This commit is contained in:
@ -30,4 +30,12 @@
|
||||
button.html("<i class=\"bi bi-clipboard\"></i> copy");
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
function safe(string) {
|
||||
return String(string)
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")
|
||||
.replace(/"/g, """);
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user