nazar-pc / PickMeUp

Really simple, powerful, customizable and lightweight standalone datepicker
BSD Zero Clause License
616 stars 189 forks source link

TypeError: t.split is not a function #120

Closed kzpromo closed 8 years ago

kzpromo commented 8 years ago

Возникла ошибка при добавлении второго календаря, с чем это может быть связано?

TypeError: t.split is not a function

<div class="3-calendars"></div>
<div class="3-calendars"></div>

<script>
var plus_5_days = new Date;
plus_5_days.addDays(5);
$(".3-calendars").pickmeup({
        flat: true,
        date: [
                new Date,
                plus_5_days
            ],
        mode: "range",
        calendars: 3,
 });
</script>
nazar-pc commented 8 years ago

Будьте добры, подготовьте демо: https://github.com/nazar-pc/PickMeUp#contribution

kzpromo commented 8 years ago

@nazar-pc https://jsfiddle.net/kzpromo/na17e41r/1/

nazar-pc commented 8 years ago

Should be fixed in fresh release