On Stack Overflow, the calendar for consecutive visits doesn't work correctly.

I can close that calendar after opening it, but it doesn't show when I try to open it after having closed it once.

Here on Meta it works fine, but not on Stack Overflow.

share|improve this question
2  
Reproduced on Chrome 15/Linux. Looks like the events on that span get removed once the calendar is closed. –  Mat Nov 20 '11 at 12:50
    
and the style="cursor:default" remains unchanged –  haynar Nov 20 '11 at 12:58
    
@Mat correct, I've dug little deeper. :) –  Shadow Wizard Nov 20 '11 at 13:05
2  
The new user page fixes this. It'll probably be deployed network-wide at some point in the near future. –  lunboks Nov 20 '11 at 15:10
add comment

1 Answer

up vote 5 down vote accepted

Plain bug. In both sites the click event is unbinded after every click - this is probably to prevent double click while the AJAX is still taking place.

In Meta it's binded again in the complete event of the AJAX request, but in SO it's binded again only in the error event.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .