From ca9dd288cdfbc34319cca87bb7fdf3f9effdc8e6 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 5 Sep 2007 20:39:05 +0000 Subject: [PATCH] allow the hidden help sections 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 3f5a5767..e8727635 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -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); }