jamesallardice/Placeholders.js — pull request #53 by jonhinson (2013-11-08 23:26:12+00:00)
Title: Fix error on beforeunload in browsers with native support

This commit updates the `beforeunload` event handler to call the
`disable` function instead of `disablePlaceholders` to take advantage
of the condition that checks for native support. Otherwise, in
`handleElem`, the for loop would raise an error because `handleInputs`
would be undefined.