jquery.dirtyforms
jquery.dirtyforms copied to clipboard
s.dialog.open is not a function
I got this error on chrome macos if i added some options
jquery.dirtyforms.min.js:552 Uncaught TypeError: s.dialog.open is not a function at k (jquery.dirtyforms.min.js:552:27) at HTMLAnchorElement.onAnchorClick (jquery.dirtyforms.min.js:298:13) at HTMLDocument.dispatch (jquery.min.js:2:43064) at HTMLDocument.v.handle (jquery.min.js:2:41048)
$("form").dirtyForms({ dialog: { title: "Wait!" }, message: "You forgot to save your details. If you leave now, they will be lost forever." });