- Add missing quotes
This commit is contained in:
@@ -188,7 +188,7 @@ if JS then
|
|||||||
JS.callJS(JS.stringFunc(
|
JS.callJS(JS.stringFunc(
|
||||||
[[
|
[[
|
||||||
window.navigator.clipboard
|
window.navigator.clipboard
|
||||||
.writeText(%s)
|
.writeText('%s')
|
||||||
.then(() => console.log('Copied to clipboard'))
|
.then(() => console.log('Copied to clipboard'))
|
||||||
.catch((e) => console.warn(e));
|
.catch((e) => console.warn(e));
|
||||||
]],
|
]],
|
||||||
@@ -202,7 +202,7 @@ if JS then
|
|||||||
[[
|
[[
|
||||||
window.navigator.clipboard
|
window.navigator.clipboard
|
||||||
.readText()
|
.readText()
|
||||||
.then(async (text) => _$_(text))
|
.then((text) => {console.log(text); _$_(text);})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
_$_('');
|
_$_('');
|
||||||
|
|||||||
Reference in New Issue
Block a user