oauth: add twitter
This commit is contained in:
@@ -262,6 +262,8 @@
|
||||
attrSet(avatar, "src", commenter.photo + "?sz=50");
|
||||
} else if (commenter.provider === "github") {
|
||||
attrSet(avatar, "src", commenter.photo + "&s=50");
|
||||
} else if (commenter.provider === "twitter") {
|
||||
attrSet(avatar, "src", commenter.photo + "?size=normal");
|
||||
} else {
|
||||
attrSet(avatar, "src", commenter.photo);
|
||||
}
|
||||
@@ -745,6 +747,8 @@
|
||||
attrSet(avatar, "src", commenter.photo + "?sz=50");
|
||||
} else if (commenter.provider === "github") {
|
||||
attrSet(avatar, "src", commenter.photo + "&s=50");
|
||||
} else if (commenter.provider === "twitter") {
|
||||
attrSet(avatar, "src", commenter.photo + "?size=normal");
|
||||
} else {
|
||||
attrSet(avatar, "src", commenter.photo);
|
||||
}
|
||||
|
@@ -25,5 +25,12 @@
|
||||
font-size: 13px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.commento-twitter-button {
|
||||
background: #00aced;
|
||||
text-transform: uppercase;
|
||||
font-size: 13px;
|
||||
width: 70px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user