chore: fix some typos in comments (#3108)
Signed-off-by: loselarry <bikangning@yeah.net>
This commit is contained in:
1 parent
18f04a7d26
commit
61f25086c3
3 files changed
+4
-4
No files matched your search
@@ -22,7 +22,7 @@ export function copy(text: string) {
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
// Firefox doesnt support clipboard-write permission
|
||||
// Firefox doesn't support clipboard-write permission
|
||||
if (navigator.userAgent.indexOf("Firefox") != -1) {
|
||||
navigator.clipboard.writeText(text).then(resolve).catch(reject);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user