Permalink
Browse files

style: open in new tab 新标签打开

Open archive articles in new tab.
文档页中在新标签打开文章。
  • Loading branch information...
MOxFIVE committed Jan 4, 2016
1 parent c2b31d8 commit f24802807eb35f282edd4dbca4a98d405dc7f97d
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/js/main.js
View
@@ -106,6 +106,7 @@ require([], function (){
if(yiliaConfig.open_in_new == true){
$(".article a[href]").attr("target", "_blank")
}
$(".archive-article-title").attr("target", "_blank");
//随机颜色
var colorList = ["#6da336", "#ff945c", "#66CC66", "#99CC99", "#CC6666", "#76becc", "#c99979", "#918597", "#4d4d4d"];

0 comments on commit f248028

Please sign in to comment.