updates
This commit is contained in:
@@ -93,6 +93,10 @@ export class Ut {
|
|||||||
*/
|
*/
|
||||||
static copyToClipboard(target) {
|
static copyToClipboard(target) {
|
||||||
|
|
||||||
|
if (!target) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const isTextField = target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement;
|
const isTextField = target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement;
|
||||||
|
|
||||||
if (navigator.clipboard) {
|
if (navigator.clipboard) {
|
||||||
|
|||||||
Reference in New Issue
Block a user