Support » Plugin: Traction External Links Speed Bump » Not removing trelsb-modal-open when continue is clicked.

  • Resolved Nathan Shower

    (@nshower)


    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 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Traction

    (@tractionokc)

    Thanks for the heads up. I’ll take a look at it and hopefully have that fixed in the next release. Thanks for the positive feeback.

    Plugin Contributor jrt341

    (@jrt341)

    The plugin has been updated.

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.