Fix bad syntax in doubleclick event