leaveNotice
leaveNotice copied to clipboard
Popup box empty on first click
I have a puzzling issue trying to implement this plugin.
When I first click an external link on the site the popup box appears on screen but is empty, inspecting the region the
The resources load without issue and i'm not getting any error messages in the console...
I'll start commenting out other js resources to see if it's an interaction problem with one of the other js files.
Our website platform relies on jquery 1.7.4, could that be the problem?
I found a partial solution to my issue. There was another click event handler managing a different class of links for a spacific purpose, but it was using the same 'ln-messageBox' class as this leaveNotice. Changing the messageBox and messaheHolder name as properties when invoking the function causes all dom elements to be changed as well even for the other message box. I manually edited the default messagebox and message holder id variables to get around this problem, but now I have an issue where the cancel button isn't working. Clicking the cancel button is adding the "#close" string to the url but the popup box remains on screen.