diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js index 0527ec20db..00ab7aba85 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js @@ -136,8 +136,6 @@ } - $(".post-content a[href^='http']").each(function () { - $(this).attr('target','_blank'); - }); + $(".post-content a[href^='http']").attr('target', '_blank'); })(jQuery);