Bug fix either caused or revealed by upgrade to newest JQuery