seaofclouds/tweet — Issue #216: Adding classes to links to open in external windows / new tabs
Author: rawksteady
Created: 2012-02-16 09:01:00+00:00
State: open

Due to various reasons, I've resorted to this:

$("a.external[href^='http://']").attr("target","_blank");

And I've successfully added the class="external" to each link withing a tweet.

However, it will not open the given link in a new window or tab. Any other links with the class external is working fine.

Any thoughts on this?