From 75cc24c8d602d509e6b272db983489090595f001 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 11 Mar 2013 12:48:10 -0500 Subject: fixed addSidebarToggler where index and section were flip-flopped --- .themes/classic/source/javascripts/octopress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes') 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"); } -- cgit v1.2.1