Gerard Condon's Blog

Journal of a software developer.

Fixing Octopress 2.0 to Work With JQuery

After updating the site to add JQuery, I noticed that the Github aside and the sidebar toggle no longer worked.

Opening up the console I saw the following errors

TypeError: Object 0 has no method ‘charAt’

and for the Github plugin

`Method JSONP is not allowed by Access-Control-Allow-Methods`

Googling for these lead me to Daniel Hilgarth’s blog where he has two posts on how to solve the charAt and jsonp issues.