Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f9939fd

Browse files
Merge pull request philc#1747 from gdh1995/master
fix a bug that `pasteFromClipboard` does not return text from clipboard
2 parents 83abcad + 7777155 commit f9939fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background_scripts/main.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ openUrlInIncognito = (request) ->
217217
# We return null to avoid the return value from the copy operations being passed to sendResponse.
218218
#
219219
copyToClipboard = (request) -> Clipboard.copy(request.data); null
220-
pasteFromClipboard = (request) -> Clipboard.paste(); null
220+
pasteFromClipboard = (request) -> Clipboard.paste()
221221

222222
#
223223
# Selects the tab with the ID specified in request.id

0 commit comments

Comments
 (0)