This commit is contained in:
Viet An
2026-06-19 08:56:42 +07:00
parent da4c779bbe
commit f491f82f43
13 changed files with 58 additions and 94 deletions

View File

@@ -192,7 +192,7 @@ export default defineNuxtPlugin((nuxtApp) => {
};
const copyToClipboard = function (text) {
snackbar("Copied to clipboard", "Success");
snackbar("Copied", "Success");
if (window.clipboardData && window.clipboardData.setData) {
// IE specific code path to prevent textarea being shown while dialog is visible.
return clipboardData.setData("Text", text);