Skip to content

Commit

Permalink
style: open in new tab 新标签打开
Browse files Browse the repository at this point in the history
Open archive articles in new tab.
文档页中在新标签打开文章。
  • Loading branch information
MOxFIVE committed Jan 4, 2016
1 parent c2b31d8 commit f248028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/js/main.js
Expand Up @@ -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"];
Expand Down

0 comments on commit f248028

Please sign in to comment.