mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:27:58 +01:00
fixed ;y and ;Y hints
This commit is contained in:
@@ -129,9 +129,9 @@ vimperator.Hints = function() //{{{
|
|||||||
|
|
||||||
var elem = valid_hints[hintNumber - 1] || valid_hints[0];
|
var elem = valid_hints[hintNumber - 1] || valid_hints[0];
|
||||||
if (text)
|
if (text)
|
||||||
var loc = elem.href;
|
|
||||||
else
|
|
||||||
var loc = elem.textContent;
|
var loc = elem.textContent;
|
||||||
|
else
|
||||||
|
var loc = elem.href;
|
||||||
|
|
||||||
vimperator.copyToClipboard(loc);
|
vimperator.copyToClipboard(loc);
|
||||||
vimperator.echo("Yanked " + loc, vimperator.commandline.FORCE_SINGLELINE);
|
vimperator.echo("Yanked " + loc, vimperator.commandline.FORCE_SINGLELINE);
|
||||||
|
|||||||
Reference in New Issue
Block a user