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

allow the hidden help sections to be found

This commit is contained in:
Doug Kearns
2007-09-05 20:39:05 +00:00
parent 85b7d6c5f4
commit ca9dd288cd

View File

@@ -265,7 +265,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);
} }