mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 14:52:30 +02:00
allow the hidden help sections to be found
This commit is contained in:
1 parent
85b7d6c5f4
commit
ca9dd288cd
1 file changed
+1
-1
@@ -265,7 +265,7 @@ vimperator.help = function(section, easter) //{{{
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user