HOTTERFIX
This commit is contained in:
parent
58cd2ac643
commit
7429c2aadc
1 changed files with 4 additions and 2 deletions
6
index.js
6
index.js
|
@ -144,8 +144,10 @@ function pageUpdate() {
|
|||
}
|
||||
} else if (activity.type == 0) {
|
||||
if (get_img()) {
|
||||
var time = activity.timestamps.start || activity.created_at
|
||||
console.log(activity)
|
||||
var time = activity.created_at
|
||||
if (activity.timestamps) {
|
||||
time = activity.timestamps.start
|
||||
}
|
||||
addedHTML += `
|
||||
<div class="chip activity col-md-6 testing">
|
||||
<img src="${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
|
||||
|
|
Loading…
Reference in a new issue