From 42251dddcadd8ff23f30b128f1f468b18c0adf92 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Wed, 10 Mar 2010 13:59:18 -0600 Subject: improved layout flexibility --- source/javascripts/octopress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/javascripts/octopress.js') diff --git a/source/javascripts/octopress.js b/source/javascripts/octopress.js index 8e7c1a4f..d5173a47 100644 --- a/source/javascripts/octopress.js +++ b/source/javascripts/octopress.js @@ -17,7 +17,7 @@ function addExpander(div){ function toggleExpander(expander){ var html = ''; var expanderPos = expander.getPosition().y; - if($('main').toggleClass('expanded').hasClass('expanded')) + if($('page').toggleClass('expanded').hasClass('expanded')) html = '« contract'; else html = 'expand »'; -- cgit v1.2.1