aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjez2011-05-19 16:04:04 +0000
committerjez2011-05-19 16:04:04 +0000
commit64fddcdfcc463c36b96efce541bc229b7f4254f9 (patch)
treec042f33d1496c12ad1062a1998308344cb830031
parent71b66f32e456fb41da8351359a6f01f0aa159984 (diff)
downloadvimium-64fddcdfcc463c36b96efce541bc229b7f4254f9.tar.bz2
Make a little more compact.
-rw-r--r--vimiumFrontend.js9
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) {