aboutsummaryrefslogtreecommitdiff
path: root/source/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'source/javascripts')
-rw-r--r--source/javascripts/octopress.js2
1 files changed, 1 insertions, 1 deletions
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 »';