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

Fix brute force checking with `"use strict";` #128

Closed bjeanes closed 5 years ago

bjeanes commented 7 years ago

I have an old project using this and it is being loaded by Webpack in a "use strict"; context. Chrome at least throws Uncaught ReferenceError: $field is not defined on this line.

bjeanes commented 5 years ago

Thanks! Any idea when this might be released?