mirror of
https://github.com/resume/resume.github.com.git
synced 2026-05-09 04:49:47 -05:00
Add test on blog value to prevent handling an empty string
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ var run = function() {
|
||||
since: since
|
||||
};
|
||||
|
||||
if (data.user.blog !== undefined && data.user.blog !== null) {
|
||||
if (data.user.blog !== undefined && data.user.blog !== null && data.user.blog !== '') {
|
||||
view.blog = addHttp + data.user.blog;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user