Skip to content

Commit

Permalink
js
Browse files Browse the repository at this point in the history
  • Loading branch information
wang1375830242 committed Mar 30, 2020
1 parent 220527d commit 895ec37
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions sakura/source/js/valine.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,16 +527,8 @@
t.ErrorHandler(e)
});
var C = function (e, n, r) {
var qq_img=m.cdn+a(e.get("mail"))+m.params;
if(e.get("mail").indexOf("@qq.com") >= 0){
var prefix = e.get("mail").replace(/@.*/, "");
var pattern=/^\d+$/g;
var result= prefix.match(pattern);
if(result!==null){
qq_img = "//q1.qlogo.cn/g?b=qq&nk="+ prefix +"&s=100";
}
}
var i=u.create("div",{class:"vcard",id:e.id}),o=m.hide?"":'<img class="vimg" src="'+ (qq_img)+'">',
var i = u.create("div", {class: "vcard", id: e.id}),
o = m.hide ? "" : '<img class="vimg" src="' + (m.cdn + a(e.get("mail")) + m.params) + '">',
s = e.get("ua") || "", l = "";
if (s) {
s = d(s);
Expand Down

0 comments on commit 895ec37

Please sign in to comment.