2

The date picker widget on the user profile page is broken. Attempting to click on it has it spin forever. The JavaScript console has the error

Uncaught TypeError: $cal.datepicker is not a function

Erroring JavaScript function...

function showCalendar() {
        var $cal = $('.js-daily-access-calendar');
        
        $cal.datepicker({
            beforeShowDay: function(date) {
                var y = date.getFullYear();
                var m = date.getMonth() + 1;
                var d = date.getDate();
                var hasVisited = visited[y] && visited[y][m] && visited[y][m][d];
                return [false, (hasVisited ? 'ui-state-active' : ''), (y + '-' + m + '-' + d)];
            }
        });
    }

StackOverflow date picker widget spinning forever, no freehand circles

I'm using Firefox Dev Edition 119.0b4 on Windows.

3

0

Browse other questions tagged .