From 64fddcdfcc463c36b96efce541bc229b7f4254f9 Mon Sep 17 00:00:00 2001 From: jez Date: Thu, 19 May 2011 16:04:04 +0000 Subject: Make a little more compact. --- vimiumFrontend.js | 9 +-------- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3