From b022b433339575ff9c4bc58637f6b2c551f5fec6 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 15 Jul 2016 22:52:14 -0400 Subject: fix clickable links on posts tab --- data/assets/js/admin/tabs/posts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/assets/js/admin/tabs') diff --git a/data/assets/js/admin/tabs/posts.js b/data/assets/js/admin/tabs/posts.js index f2e082d..1cabc31 100644 --- a/data/assets/js/admin/tabs/posts.js +++ b/data/assets/js/admin/tabs/posts.js @@ -65,7 +65,6 @@ jQuery(function($) { "href='%{post_url|h}' ", "class='link' ", "title='View link \"%{post_url|h}\".' ", - "target='_blank' ", ">", "%{post_url|h}", "", @@ -223,7 +222,7 @@ jQuery(function($) { }); $('#posts').on('click', 'a.link', function() { - location.href = $(this).attr('href'); + open($(this).attr('href')); // stop event return false; -- cgit v1.2.3