Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

previous next month buttons crash #28

Open
kariha opened this issue Mar 19, 2022 · 0 comments
Open

previous next month buttons crash #28

kariha opened this issue Mar 19, 2022 · 0 comments

Comments

@kariha
Copy link

kariha commented Mar 19, 2022

When the first date is selected in June, the other month buttons do not work. You can try it by clicking the link.
https://www.tatilpremium.com/tr/fethiye-uzumlude-ozel-havuzlu-kiralik-villa-albina

Example: June 23.

    $('.t-datepicker').tDatePicker({
        autoClose: true,
        durationArrowTop: 200,
        limitDateRanges: 91,
        limitNextMonth: 18,
        numCalendar: (screen.availWidth < 768) ? 1 : 1,
        dateCheckIn: '<?php echo $entry_date ?>',
        dateCheckOut: '<?php echo $release_date ?>',
        checkInDisabled: dayInDisabled,
        dateDisabled: dayDisabled,
        checkOutDisabled: dayOutDisabled,
        dateMonthPrice: false,
    }).on('afterCheckOut', function (e, dataDate) {
        $('html').removeClass('t-datepicker-open')
        tDatePickerControl()
    })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant