Run "make fmt"

This commit is contained in:
Michael Mayer 2021-04-30 12:28:32 +02:00
parent 28c5c1be7b
commit 3280ab38e9

View file

@ -173,17 +173,17 @@ export default class Util {
clipboardElement.select();
// Copy the selected textarea content
const succeed = document.execCommand('copy');
const succeed = document.execCommand("copy");
// Remove the textarea from DOM
document.body.removeChild(clipboardElement);
// Validate operation succeed
if (!succeed) {
throw new Error('Failed copying to clipboard');
throw new Error("Failed copying to clipboard");
}
} else {
throw new Error('Copy to clipboard does not support in your browser');
throw new Error("Copy to clipboard does not support in your browser");
}
}
}