Not removing trelsb-modal-open when continue is clicked.
-
Hello,
Loving the plugin, nice and simple. Found that the class
.trelsb-modal-open
does not get removed when clicking the continue button. Usually not an issue, but whentarget=_blank
is used, it freezes the page in place when returning to the original site.Found that adding
jQuery('body').removeClass('trelsb-modal-open');
to thecontInput.click(function() {
in the .js file did the trick. Also switched the order of removing the modal and removing that class, just to make sure it got triggered.Cheers!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Not removing trelsb-modal-open when continue is clicked.’ is closed to new replies.