Oh then, definitely that's the problem. The script is trying to trigger a key-up event, which is not working of course.
So all you need to do is change line 16 of the code I've given you from:
And that will trigger the icon click instead, which hopefully works 🙂Best,
If you like my products, don't forget to rate them on codecanyon :)