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.

posted on November 20, 2016octopress

Tags

By year

  1. 2020 (14)
  2. 2019 (17)
  3. 2018 (2)
  4. 2017 (11)
  5. 2016 (3)
  6. 2015 (6)
  7. 2014 (3)
  8. 2013 (11)
  9. 2012 (25)