Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Added fix for using watermark inside some element with display:none #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

whut
Copy link

@whut whut commented Oct 21, 2011

For example when using watermark on text input that is inside div with display:none, watermark will be shown too high, because at the moment of calculating style for watermark, input height was 0, but outerHeight was 4.

jquery.watermark.min.js should also be updated, but I don't know what minifier you use.

For example when using watermark on text input that is inside div with display:none, watermark will be shown too high, because at the moment of calculating style for watermark, input height was 0, but outerHeight was 4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant