aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorgdh19952015-06-22 00:32:42 +0800
committergdh19952015-06-22 00:32:42 +0800
commit7777155e199af2bf3b887e54c9874a1a04509524 (patch)
tree3dbf8898b9c72d7d6fa5cbb02cc660943dc3ac33 /background_scripts
parent83abcadc85f27f251a691a51c868edfa13e1b73e (diff)
downloadvimium-7777155e199af2bf3b887e54c9874a1a04509524.tar.bz2
fix a bug that `pasteFromClipboard` does not return text from clipboard
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index d4b14f3c..28959d35 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -217,7 +217,7 @@ openUrlInIncognito = (request) ->
# We return null to avoid the return value from the copy operations being passed to sendResponse.
#
copyToClipboard = (request) -> Clipboard.copy(request.data); null
-pasteFromClipboard = (request) -> Clipboard.paste(); null
+pasteFromClipboard = (request) -> Clipboard.paste()
#
# Selects the tab with the ID specified in request.id