diff --git a/4chan_x.user.js b/4chan_x.user.js
index 842e70a71..03f854597 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -3689,7 +3689,7 @@
dateUTC: data.time,
comment: data.com
};
- if (data.ext) {
+ if (data.ext || data.filedeleted) {
o.file = {
name: data.filename + data.ext,
timestamp: "" + data.tim + data.ext,
@@ -3802,8 +3802,8 @@
}
tripcode = tripcode ? " " + tripcode + "" : '';
container = $.el('div', {
- className: "postContainer " + (isOP ? 'op' : 'reply') + "Container",
id: "pc" + postID,
+ className: "postContainer " + (isOP ? 'op' : 'reply') + "Container",
innerHTML: (isOP ? '' : "
") + ("
") + ("
") + emailStart + ("" + name + "") + tripcode + emailEnd + capcodeStart + capcode + userID + flag + ("
" + subject + "") + ("" + date) + '
' + ("No.") + ("" + postID + "") + '' + '
' + (isOP ? fileHTML : '') + ("
") + ("
") + ("
" + (subject || '') + " ") + ("
") + emailStart + ("" + name + "") + tripcode + emailEnd + capcodeStart + capcode + userID + flag + ' ' + ("
" + date + " ") + "
" + ("No.") + ("" + postID + "") + '' + '
' + (isOP ? '' : fileHTML) + ("
" + comment + "
") + '
'
});
_ref = $$('.quotelink', container);
diff --git a/script.coffee b/script.coffee
index 99763ca6a..f0d1e0c71 100644
--- a/script.coffee
+++ b/script.coffee
@@ -2912,7 +2912,7 @@ Build =
dateUTC: data.time
comment: data.com
# file
- if data.ext
+ if data.ext or data.filedeleted
o.file =
name: data.filename + data.ext
timestamp: "#{data.tim}#{data.ext}"
@@ -3053,8 +3053,8 @@ Build =
''
container = $.el 'div',
- className: "postContainer #{if isOP then 'op' else 'reply'}Container"
id: "pc#{postID}"
+ className: "postContainer #{if isOP then 'op' else 'reply'}Container"
innerHTML: \
(if isOP then '' else "