compile
This commit is contained in:
parent
4d57d6378f
commit
e2fe8fb168
@ -3628,19 +3628,19 @@
|
|||||||
dateUTC: data.timestamp,
|
dateUTC: data.timestamp,
|
||||||
comment: comment
|
comment: comment
|
||||||
};
|
};
|
||||||
if (data.media_filename) {
|
if (data.media.media_filename) {
|
||||||
o.file = {
|
o.file = {
|
||||||
name: data.media_filename_processed,
|
name: data.media.media_filename_processed,
|
||||||
timestamp: data.media_orig,
|
timestamp: data.media.media_orig,
|
||||||
url: data.media_link || data.remote_media_link,
|
url: data.media.media_link || data.media.remote_media_link,
|
||||||
height: data.media_h,
|
height: data.media.media_h,
|
||||||
width: data.media_w,
|
width: data.media.media_w,
|
||||||
MD5: data.media_hash,
|
MD5: data.media.media_hash,
|
||||||
size: data.media_size,
|
size: data.media.media_size,
|
||||||
turl: data.thumb_link || ("//thumbs.4chan.org/" + board + "/thumb/" + data.preview_orig),
|
turl: data.media.thumb_link || ("//thumbs.4chan.org/" + board + "/thumb/" + data.media.preview_orig),
|
||||||
theight: data.preview_h,
|
theight: data.media.preview_h,
|
||||||
twidth: data.preview_w,
|
twidth: data.media.preview_w,
|
||||||
isSpoiler: data.spoiler === '1'
|
isSpoiler: data.media.spoiler === '1'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
$.replace(root.firstChild, Get.cleanPost(Build.post(o, true)));
|
$.replace(root.firstChild, Get.cleanPost(Build.post(o, true)));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user