mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 07:12:29 +02:00
1 parent
64978d071f
commit
da049fa175
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user