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

Alert after toggling back a checkbox to original state #91

Open amitpatelx opened 8 years ago

amitpatelx commented 8 years ago

Steps to reproduce

  1. Click on a checkbox
  2. Close the window. It will ask to leave or stay. click on stay
  3. Click on the checkbox again to toggle back the its original state
  4. Close the window

It still alerts to leave or stay on the page.