Last check to see if the notice item contains an attachment

This commit is contained in:
Sarven Capadisli 2009-11-29 19:18:17 +00:00
parent aa1bb43588
commit 0d6a1b6c92

View File

@ -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 = {