Permalink
Browse files

Fix problem with IE and placeholder with HTML tags.

  • Loading branch information...
1 parent c543966 commit 89b0fe35190e2da0b48fc57e7445e90525405ec0 @tuupola tuupola committed Feb 16, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.jeditable.js
View
4 jquery.jeditable.js
@@ -158,8 +158,8 @@
//$(this).css('visibility', '');
/* remove placeholder text, replace is here because of IE */
- if ($(this).html().toLowerCase().replace(/;/, '') ==
- settings.placeholder.toLowerCase().replace(/;/, '')) {
+ if ($(this).html().toLowerCase().replace(/(;|")/g, '') ==
+ settings.placeholder.toLowerCase().replace(/(;|")/g, '')) {
$(this).html('');
}

0 comments on commit 89b0fe3

Please sign in to comment.