diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js index 0bd671f8d..e064c173b 100644 --- a/js/util.js +++ b/js/util.js @@ -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 = { |