forked from GNUsocial/gnu-social
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) {
|
NoticeWithAttachment: function(notice) {
|
||||||
|
if ($('.attachment', notice).length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var notice_id = notice.attr('id');
|
var notice_id = notice.attr('id');
|
||||||
|
|
||||||
$.fn.jOverlay.options = {
|
$.fn.jOverlay.options = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user