]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Set defaultElement to input, equivalent to Autocomplete
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 22 Nov 2016 17:18:57 +0000 (18:18 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 22 Nov 2016 17:18:57 +0000 (18:18 +0100)
ui/widgets/datepicker.js

index 6e1f5be737e563db297d2dfb2031d745db479995..b489fe9b7efe7027ecc56e52517885416773d888 100644 (file)
@@ -40,6 +40,7 @@
 
 var widget = $.widget( "ui.datepicker", {
        version: "@VERSION",
+       defaultElement: "<input>",
        options: {
                appendTo: null,
                position: {