Skip to content

Instantly share code, notes, and snippets.

@tonio
Forked from anonymous/gist:119880
Created May 29, 2009 10:37
Show Gist options
  • Save tonio/119886 to your computer and use it in GitHub Desktop.
Save tonio/119886 to your computer and use it in GitHub Desktop.
document.addEvent('domready', function() {
$$('a.blank').addEvent('click', function(link, e){
e.stop();
window.open(link.get('href'));
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment