diff options
| author | mrmr1993 | 2017-08-15 18:54:35 +0100 |
|---|---|---|
| committer | mrmr1993 | 2017-11-18 12:38:10 +0000 |
| commit | 05604d8965da712b1709d0458fa1f3ca7a1d7f2f (patch) | |
| tree | f1be925934e1a52519cae084d3339a96b333f474 /pages | |
| parent | fb25b26c06eae7d00c6cfe81a7f8b9068724af03 (diff) | |
| download | vimium-05604d8965da712b1709d0458fa1f3ca7a1d7f2f.tar.bz2 | |
FF: Use HUD.copyToClipboard everywhere
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/help_dialog.coffee | 2 |
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()) |
