Skip to content

Commit c9fe9f2

Browse files
committed
Use ascii single quote as apostrophe instead of unicode's right single quotation mark
1 parent ae85bce commit c9fe9f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.placeholder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
element.value = value;
5050
// Issue #56: Setting the placeholder causes problems if the element continues to have focus.
5151
if (element != document.activeElement) {
52-
// We cant use `triggerHandler` here because of dummy text/password inputs :(
52+
// We can't use `triggerHandler` here because of dummy text/password inputs :(
5353
setPlaceholder.call(element);
5454
}
5555
} else if ($element.hasClass('placeholder')) {
@@ -68,7 +68,7 @@
6868
$(function() {
6969
// Look for forms
7070
$(document).delegate('form', 'submit.placeholder', function() {
71-
// Clear the placeholder values so they dont get submitted
71+
// Clear the placeholder values so they don't get submitted
7272
var $inputs = $('.placeholder', this).each(clearPlaceholder);
7373
setTimeout(function() {
7474
$inputs.each(setPlaceholder);

0 commit comments

Comments
 (0)