Skip to content

Commit

Permalink
Use ascii single quote as apostrophe instead of unicode's right singl…
Browse files Browse the repository at this point in the history
…e quotation mark
  • Loading branch information
dsgh committed Apr 27, 2012
1 parent ae85bce commit c9fe9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.placeholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
element.value = value;
// Issue #56: Setting the placeholder causes problems if the element continues to have focus.
if (element != document.activeElement) {
// We cant use `triggerHandler` here because of dummy text/password inputs :(
// We can't use `triggerHandler` here because of dummy text/password inputs :(
setPlaceholder.call(element);
}
} else if ($element.hasClass('placeholder')) {
Expand All @@ -68,7 +68,7 @@
$(function() {
// Look for forms
$(document).delegate('form', 'submit.placeholder', function() {
// Clear the placeholder values so they dont get submitted
// Clear the placeholder values so they don't get submitted
var $inputs = $('.placeholder', this).each(clearPlaceholder);
setTimeout(function() {
$inputs.each(setPlaceholder);
Expand Down

0 comments on commit c9fe9f2

Please sign in to comment.