dciccale/placeholder-enhanced — pull request #32 by lorenzos (2013-05-02 07:37:59+00:00)
Title: Fixed issue on password fields: original class attribute is not cloned into fake input

I noticed another little issue on password fields. I'm styling all my inputs via class name, something like:

Using your plugin, my password fields are not styled until focused. I noticed that is because you create a fake *text input* in the place of the password field, but without copying existent class attribute on it. Refering to my previous example, the generated HTML is:

The 2nd element should have class *skeuomorphic* **and** *placeholder*.

**NOTE:** I updated the minified version too, using YUI Compressor: it's now a little bigger than yours (and not only for my addition), maybe you used a better minifier. The problem does not occur in the *2.0 beta* version.