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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user