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

allow hidden help messages to be found

This commit is contained in:
Doug Kearns
2007-09-25 19:11:38 +00:00
parent 8b77ce674f
commit b8ac03c9e8

View File

@@ -262,7 +262,7 @@ vimperator.help = function(section, easter) //{{{
{ {
function findSectionElement(section) function findSectionElement(section)
{ {
return vimperator.buffer.evaluateXPath('//code[@class="tag" and text()="' + section + '"]') return vimperator.buffer.evaluateXPath('//code[@class="tag" and text()="' + section + '"] | id("' + section + '")')
.snapshotItem(0); .snapshotItem(0);
} }