Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » JS errors when you hit the back button

  • Resolved Morgan Kay

    (@gwendydd)


    The Give plugin includes some JavaScript that is meant to clear a donation form if you fill out a form and then use the “Back” button in your browser to go back to a page with the form. That’s great, but the problem is that it tries to clear the data on every page, not just on pages with a donation form, so if you go back to a page without a form, you get an error: TypeError: e(...).find(...)[0] is undefined

    The problem is in assets/js/frontend/give.js, line 108.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS errors when you hit the back button’ is closed to new replies.