Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c844c4

Browse files
committed
bugfix
1 parent 6117f8b commit 5c844c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/js/comment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@
122122
var avatar = user.avatar;
123123
if (avatar == "") {
124124
if (isHttps) {
125-
user.avatar = 'http://gravatar.com/avatar/'+md5(user.email)+"?s=48";
126-
} else {
127125
user.avatar = 'https://secure.gravatar.com/avatar/'+md5(user.email)+"?s=48";
126+
} else {
127+
user.avatar = 'http://gravatar.com/avatar/'+md5(user.email)+"?s=48";
128128
}
129129
} else if (avatar.indexOf('http') === -1) {
130130
user.avatar = cdnDomain+'avatar/'+avatar+'?imageView2/2/w/48';

0 commit comments

Comments
 (0)