diff --git a/.github/factory/index.js.mjs b/.github/factory/index.js.mjs index 7a93be9..2a08f66 100644 --- a/.github/factory/index.js.mjs +++ b/.github/factory/index.js.mjs @@ -406,15 +406,15 @@ function TP(source, state = {}) { function onCopyCutPasteTextCopy(e) { let type = e.type; if ('copy' === type) { - delay(() => letTextCopy(1))(); + delay(() => letTextCopy(1), 1)(); } else if ('cut' === type) { !sourceIsReadOnly() && setTags(""); - delay(() => letTextCopy(1))(); + delay(() => letTextCopy(1), 1)(); } else if ('paste' === type) { delay(() => { !sourceIsReadOnly() && setTags(textCopy.value); letTextCopy(1); - })(); + }, 1)(); } delay(() => { let tags = $.tags; @@ -564,7 +564,7 @@ function TP(source, state = {}) { } offEventDefault(e); } - })(); + }, 1)(); // Focus to the first tag if ("" === theValue && KEY_BEGIN === key) { if (theTag = getChildren(textOutput, 0)) { @@ -635,7 +635,7 @@ function TP(source, state = {}) { }); } setValue(""); - })(); + }, 1)(); } function onSubmitForm(e) { diff --git a/LICENSE b/LICENSE index c4fd36e..13e1fc9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright © 2022 Taufik Nurrohman +Copyright © 2023 Taufik Nurrohman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal diff --git a/index.html b/index.html index 794dea6..5a545b1 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - Tag Picker 3.4.17 + Tag Picker 3.4.18