Skip to content

Commit

Permalink
Conditioned off initial build
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmynotjim committed Jan 7, 2013
1 parent 090810f commit 1e41bce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions jquery.sectionNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@
};

// BUILD!!!!

setupContainer();
setupSections();
setupNav();
if ($container.length !== 0) {
setupContainer();
setupSections();
setupNav();
}

// Now add the nav to our page

Expand Down

0 comments on commit 1e41bce

Please sign in to comment.