Skip to content

Commit

Permalink
Tag the v2.0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Feb 23, 2012
1 parent a9fd43d commit 5a01d98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -58,8 +58,11 @@ I’d suggest sticking to the `#aaa` color for placeholder text, as it’s the d

This plugin is dual licensed under the MIT and GPL licenses, just like jQuery itself.

## Credits
## Thanks to…

Kudos to [Paul Irish](http://paulirish.com/) for his inspiring snippet in [jQuery 1.4 Hawtness #1](http://jquery14.com/day-05/jquery-1-4-hawtness-1-with-paul-irish) and everyone from [#jquery](http://webchat.freenode.net/?channels=jquery) for the tips, ideas and patches. Much ♥ to temp01 for his major contributions.
* [Paul Irish](http://paulirish.com/) for his inspiring snippet in [jQuery 1.4 Hawtness #1](http://jquery14.com/day-05/jquery-1-4-hawtness-1-with-paul-irish)
* everyone from [#jquery](http://webchat.freenode.net/?channels=jquery) for the tips, ideas and patches
* temp01 for his major contributions
* anyone who [contributed a patch](https://github.com/mathiasbynens/jquery-placeholder/contributors) or [made a helpful suggestion](https://github.com/mathiasbynens/jquery-placeholder/issues)

_[Mathias](http://mathiasbynens.be/)_
4 changes: 2 additions & 2 deletions jquery.placeholder.js
@@ -1,4 +1,4 @@
/*! http://mths.be/placeholder v2.0.3 by @mathias */
/*! http://mths.be/placeholder v2.0.4 by @mathias */
;(function(window, document, $) {

var isInputSupported = 'placeholder' in document.createElement('input'),
Expand Down Expand Up @@ -46,7 +46,7 @@
if (value == '') {
element.value = value;
// Issue #56: Setting the placeholder causes problems if the element continues to have focus.
if (!$element.is(':focus')) {
if (element != document.activeElement) {
// We can’t use `triggerHandler` here because of dummy text/password inputs :(
setPlaceholder.call(element);
}
Expand Down
4 changes: 2 additions & 2 deletions jquery.placeholder.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a01d98

Please sign in to comment.