aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authormrmr19932017-08-15 18:54:35 +0100
committermrmr19932017-11-18 12:38:10 +0000
commit05604d8965da712b1709d0458fa1f3ca7a1d7f2f (patch)
treef1be925934e1a52519cae084d3339a96b333f474 /pages
parentfb25b26c06eae7d00c6cfe81a7f8b9068724af03 (diff)
downloadvimium-05604d8965da712b1709d0458fa1f3ca7a1d7f2f.tar.bz2
FF: Use HUD.copyToClipboard everywhere
Diffstat (limited to 'pages')
-rw-r--r--pages/help_dialog.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/help_dialog.coffee b/pages/help_dialog.coffee
index f36155e4..08180a72 100644
--- a/pages/help_dialog.coffee
+++ b/pages/help_dialog.coffee
@@ -83,7 +83,7 @@ HelpDialog =
commandNameElement.textContent = command.command
commandNameElement.title = "Click to copy \"#{command.command}\" to clipboard."
commandNameElement.addEventListener "click", ->
- chrome.runtime.sendMessage handler: "copyToClipboard", data: commandNameElement.textContent
+ HUD.copyToClipboard commandNameElement.textContent
HUD.showForDuration("Yanked #{commandNameElement.textContent}.", 2000)
@showAdvancedCommands(@getShowAdvancedCommands())