From c9fe9f2c0f841166d0e3e78df191f4a6daa7aa30 Mon Sep 17 00:00:00 2001 From: Duarte Henriques Date: Fri, 27 Apr 2012 15:54:08 +0200 Subject: [PATCH] Use ascii single quote as apostrophe instead of unicode's right single quotation mark --- jquery.placeholder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.placeholder.js b/jquery.placeholder.js index 9c231e8..0512ca5 100644 --- a/jquery.placeholder.js +++ b/jquery.placeholder.js @@ -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 can’t 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 don’t get submitted + // Clear the placeholder values so they don't get submitted var $inputs = $('.placeholder', this).each(clearPlaceholder); setTimeout(function() { $inputs.each(setPlaceholder);