File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 49
49
element . value = value ;
50
50
// Issue #56: Setting the placeholder causes problems if the element continues to have focus.
51
51
if ( element != document . activeElement ) {
52
- // We can’ t use `triggerHandler` here because of dummy text/password inputs :(
52
+ // We can' t use `triggerHandler` here because of dummy text/password inputs :(
53
53
setPlaceholder . call ( element ) ;
54
54
}
55
55
} else if ( $element . hasClass ( 'placeholder' ) ) {
68
68
$ ( function ( ) {
69
69
// Look for forms
70
70
$ ( document ) . delegate ( 'form' , 'submit.placeholder' , function ( ) {
71
- // Clear the placeholder values so they don’ t get submitted
71
+ // Clear the placeholder values so they don' t get submitted
72
72
var $inputs = $ ( '.placeholder' , this ) . each ( clearPlaceholder ) ;
73
73
setTimeout ( function ( ) {
74
74
$inputs . each ( setPlaceholder ) ;
You can’t perform that action at this time.
0 commit comments