1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 19:07:58 +01:00

fixed ;y and ;Y hints

This commit is contained in:
Martin Stubenschrott
2007-11-05 22:51:28 +00:00
parent 8c28e8fd81
commit d3960bd1d2

View File

@@ -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);