open links in new window

This commit is contained in:
sanj 2010-09-01 21:46:41 +05:30
parent 03a3d38b58
commit db632b6e18

View File

@ -5,6 +5,7 @@
$(function() {
$("a").each(function() {
var that = this;
$(this).attr("target", "_blank");
var link = $(this).attr("href");
if (link.indexOf(PADMA_URL) != -1) {
var linkData = parsePadmaUrl(link);