Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Not removing trelsb-modal-open when continue is clicked.

$
0
0

Replies: 0

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 when target=_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 the contInput.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 all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>