1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 17:32:38 +01:00

Fix yanking long urls.

Fixes issue #1083.
This commit is contained in:
Doug Kearns
2013-11-04 21:31:52 +11:00
parent 64978d071f
commit da049fa175

View File

@@ -645,7 +645,7 @@ var Buffer = Module("Buffer", {
let link = DOM("link[href][rev=canonical], \
link[href][rel=shortlink]", doc);
if (link)
if (link.length)
return hashify(link.attr("href"));
return null;