diff options
author | Brandon Mathis <brandon@imathis.com> | 2013-03-11 12:48:10 -0500 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2013-03-11 12:48:10 -0500 |
commit | 75cc24c8d602d509e6b272db983489090595f001 (patch) | |
tree | 392822fcfe85f2bca50ef6a5c7e5338b9dc54747 /.themes/classic | |
parent | 9364f37ac75a028c7ce12de06cc00da5bc2506b9 (diff) | |
download | my_new_personal_website-75cc24c8d602d509e6b272db983489090595f001.tar.xz my_new_personal_website-75cc24c8d602d509e6b272db983489090595f001.zip |
fixed addSidebarToggler where index and section were flip-flopped
Diffstat (limited to '.themes/classic')
-rw-r--r-- | .themes/classic/source/javascripts/octopress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js index d4b38b24..c3f59156 100644 --- a/.themes/classic/source/javascripts/octopress.js +++ b/.themes/classic/source/javascripts/octopress.js @@ -28,7 +28,7 @@ function addSidebarToggler() { } var sections = $('aside.sidebar > section'); if (sections.length > 1) { - sections.each(function(section, index){ + sections.each(function(index, section){ if ((sections.length >= 3) && index % 3 === 0) { $(section).addClass("first"); } |