Permalink
Browse files

Use ascii single quote as apostrophe instead of unicode's right singl…

…e quotation mark
  • Loading branch information...
1 parent ae85bce commit c9fe9f2c0f841166d0e3e78df191f4a6daa7aa30 @dsgh dsgh committed Apr 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.placeholder.js
View
@@ -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')) {
@@ -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);

0 comments on commit c9fe9f2

Please sign in to comment.