Skip to content

Commit 52569ee

Browse files
committed
Datepicker: Remove unwanted CTRL+HOME shortcut
1 parent ed99ae1 commit 52569ee

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ui/datepicker.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,6 @@ widget = $.widget( "ui.datepicker", {
121121
this.calendarInstance.grid.focus( 1 );
122122
}, 1 );
123123
break;
124-
case $.ui.keyCode.HOME:
125-
if ( event.ctrlKey ) {
126-
this.valueAsDate( new Date() );
127-
event.preventDefault();
128-
if ( this.isOpen ) {
129-
this.calendarInstance.refresh();
130-
} else {
131-
this.open( event );
132-
}
133-
}
134-
break;
135124
}
136125
},
137126
keyup: function() {

0 commit comments

Comments
 (0)