'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.