codedance / jquery.AreYouSure

A light-weight jQuery "dirty forms" Plugin - it monitors html forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?)
508 stars 145 forks source link

Additional var scoping #87

Closed wphampton closed 8 years ago

wphampton commented 8 years ago

Fixed console errors where these variables were not defined prior to use.

codedance commented 8 years ago

Looks good. I'll merge.