continue shopping url

I cant believe it is just me - but i changed the default continue button code to an image


the empty cart page continue button works - but the add to cart popup box always takes me to the homepage.

I tried changing the $continue_url to $ .href $config.current_url - and nothign works - any ideas?

thanks all