What I did at work today

Dec 15 2008

Weird bug:

Conditions caused by a mouse move event change the window.location. Since jQuery removed all the event listeners, the <a> tag loses the preventDefault() on mouseup and fires after the new page loads, returning the user back to the old page.

Answer: don’t use an <a> tag or remove the href value from it.

Page 1 of 1