diff options
| author | jez | 2011-05-19 16:04:04 +0000 |
|---|---|---|
| committer | jez | 2011-05-19 16:04:04 +0000 |
| commit | 64fddcdfcc463c36b96efce541bc229b7f4254f9 (patch) | |
| tree | c042f33d1496c12ad1062a1998308344cb830031 /vimiumFrontend.js | |
| parent | 71b66f32e456fb41da8351359a6f01f0aa159984 (diff) | |
| download | vimium-64fddcdfcc463c36b96efce541bc229b7f4254f9.tar.bz2 | |
Make a little more compact.
Diffstat (limited to 'vimiumFrontend.js')
| -rw-r--r-- | vimiumFrontend.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 4388c3a9..84ec5c43 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -214,13 +214,6 @@ function registerFrameIfSizeAvailable (is_top) { else setTimeout(function () { registerFrameIfSizeAvailable(is_top); }, 100); } -/* - * Let the user know something has been yanked. -*/ -function showYank() { - HUD.showForDuration("Yanked URL", 1000); -} - /* * Checks the currently focused element of the document and will enter insert mode if that element is focusable. @@ -340,7 +333,7 @@ function copyCurrentUrl() { var getCurrentUrlPort = chrome.extension.connect({ name: "getCurrentTabUrl" }); getCurrentUrlPort.postMessage({}); - showYank(); + HUD.showForDuration("Yanked URL", 1000); } function toggleViewSourceCallback(url) { |
