Comments + and DIVI theme not working correctly

Hi,

I'm having issues again with Comments + and the DIVI theme. I thought I had this working, but for some reason, can't seem to make work properly.

I've following the fixes from the following thread and have added the code snippet to my themes custom.js file.

https://premium.wpmudev.org/forums/topic/comments-plus-hooks-and-divi-by-elegant-themes

When I add the code to the custom.js , I get the following errors:

Uncaught ReferenceError: $this_link is not defined
at custom.js?ver=3.0.19:1266

I don't remember getting these in the past. The comment box appears, I see the social logins, tabs, etc... the issue is when I click on any of them, the comment box doesn't open and the page slightly scrolls to towards the top.

Anyways, any help would be greatly appreciated. I'm sure I'm just missing something silly :slight_smile:

Thanks!
Shayne