Last check to see if the notice item contains an attachment
This commit is contained in:
parent
aa1bb43588
commit
0d6a1b6c92
@ -302,6 +302,10 @@ var SN = { // StatusNet
|
||||
},
|
||||
|
||||
NoticeWithAttachment: function(notice) {
|
||||
if ($('.attachment', notice).length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
var notice_id = notice.attr('id');
|
||||
|
||||
$.fn.jOverlay.options = {
|
||||
|
Loading…
Reference in New Issue
Block a user