aboutsummaryrefslogtreecommitdiff
path: root/source/javascripts/octopress.js
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2010-03-10 13:59:18 -0600
committerB Mathis <brandon@imathis.com>2010-03-10 13:59:18 -0600
commit42251dddcadd8ff23f30b128f1f468b18c0adf92 (patch)
tree75054c19ce07613f9597b4e5496d8b79c222634a /source/javascripts/octopress.js
parent33bca7246e9f5c3b61712e44665386821acdf4b6 (diff)
downloadmy_new_personal_website-42251dddcadd8ff23f30b128f1f468b18c0adf92.tar.xz
my_new_personal_website-42251dddcadd8ff23f30b128f1f468b18c0adf92.zip
improved layout flexibility
Diffstat (limited to 'source/javascripts/octopress.js')
-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 = '&laquo; contract';
else
html = 'expand &raquo;';