From d3960bd1d24b5f0629d9554e7db4b12106816faf Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Mon, 5 Nov 2007 22:51:28 +0000 Subject: [PATCH] fixed ;y and ;Y hints --- content/hints.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/hints.js b/content/hints.js index a525341f..2a904ac8 100644 --- a/content/hints.js +++ b/content/hints.js @@ -129,9 +129,9 @@ vimperator.Hints = function() //{{{ var elem = valid_hints[hintNumber - 1] || valid_hints[0]; if (text) - var loc = elem.href; - else var loc = elem.textContent; + else + var loc = elem.href; vimperator.copyToClipboard(loc); vimperator.echo("Yanked " + loc, vimperator.commandline.FORCE_SINGLELINE);