Fix error on IE7 when href on a dropdown link is just '#'