dirkfabisch / mediator

a medium inspired jekyll theme

Home Page:blog.base68.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'this.hasClass is not a function'

jacob-israel-turner opened this issue · comments

The first time I tried to embed an image using redcarpet markdown, the page in which the image was embedded broke and I received the following error in the console:

Uncaught TypeError: this.hasClass is not a function

It was coming from index.js, line 22. .hasClass() is a jQuery method, and it turns out you forgot the dollar sign in your conditional.