Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ Please bear in mind that every input needs a linked label in order for the plugi
<link rel="stylesheet" href="placeholder_polyfill.min.css">
<script>
placeHolderConfig = {
// set to true for debug logging in console
debug: false,
// css class that is used to style the placeholder
className: 'placeholder',
// expose the placeholder text to screenreaders or not
Expand Down
1 change: 1 addition & 0 deletions src/placeholder_polyfill.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
log('init placeHolder');
var o = this;
var l = $(this).length;
debug = config.debug || false; // set debug flag
this.options = $.extend({
className: 'placeholder', // css class that is used to style the placeholder
visibleToScreenreaders : true, // expose the placeholder text to screenreaders or not
Expand Down