From b8ac03c9e88562c7518955f3b60a795a1bdd9c4b Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 25 Sep 2007 19:11:38 +0000 Subject: [PATCH] allow hidden help messages to be found --- chrome/content/vimperator/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index 0b287470..4ee38e98 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -262,7 +262,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); }