aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-15 22:52:14 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-15 22:52:14 -0400
commitb022b433339575ff9c4bc58637f6b2c551f5fec6 (patch)
treeb5e29c442f04dddf632777154418ef1104bb9d68
parent8d3d8938be62852e479091b41920091e9df2ee72 (diff)
downloadguff-b022b433339575ff9c4bc58637f6b2c551f5fec6.tar.bz2
guff-b022b433339575ff9c4bc58637f6b2c551f5fec6.zip
fix clickable links on posts tab
-rw-r--r--data/assets/js/admin/tabs/posts.js3
1 files changed, 1 insertions, 2 deletions
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}",
"</a>",
@@ -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;