Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #16 from streetdragon/master
Browse files Browse the repository at this point in the history
Fixed IE 7 issue
  • Loading branch information
andrewrjones committed Mar 1, 2014
2 parents 489a13e + 468226e commit da19cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery.placeholder.js
Expand Up @@ -90,7 +90,7 @@
$el.removeClass(opts.focusClass);

if (this.value === '') {
$el.val($el.attr('placeholder')).addClass(opts.activeClass);
$($el.val($el.attr('placeholder'))).addClass(opts.activeClass);
}
});

Expand All @@ -103,4 +103,4 @@

});
};
}(jQuery));
}(jQuery));

0 comments on commit da19cba

Please sign in to comment.