open links in new window
This commit is contained in:
parent
03a3d38b58
commit
db632b6e18
|
@ -5,6 +5,7 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
$("a").each(function() {
|
$("a").each(function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
$(this).attr("target", "_blank");
|
||||||
var link = $(this).attr("href");
|
var link = $(this).attr("href");
|
||||||
if (link.indexOf(PADMA_URL) != -1) {
|
if (link.indexOf(PADMA_URL) != -1) {
|
||||||
var linkData = parsePadmaUrl(link);
|
var linkData = parsePadmaUrl(link);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user