From e1d822b893c2c2c2fd60f57543a5d9b09c814865 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 21 Nov 2010 16:28:03 -0800 Subject: [PATCH] get nav selection working for the module nav --- doc-src/lib/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc-src/lib/default.rb b/doc-src/lib/default.rb index 6ccf6887..4dde5876 100644 --- a/doc-src/lib/default.rb +++ b/doc-src/lib/default.rb @@ -84,7 +84,7 @@ def item_tree(item, options = {}) contents = unless options[:omit_self] item_opts = { :current_item => item, - :selected => item.identifier == @item.identifier, + :selected => !!@item.identifier[item.identifier], :crumb => item[:crumb] || item[:title] } if options[:heading_level]