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. 2019 (16)
  2. 2018 (2)
  3. 2017 (11)
  4. 2016 (3)
  5. 2015 (6)
  6. 2014 (3)
  7. 2013 (11)
  8. 2012 (25)