projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1bb43
)
Last check to see if the notice item contains an attachment
author
Sarven Capadisli
<csarven@status.net>
Sun, 29 Nov 2009 19:18:17 +0000
(19:18 +0000)
committer
Sarven Capadisli
<csarven@status.net>
Sun, 29 Nov 2009 19:18:17 +0000
(19:18 +0000)
js/util.js
patch
|
blob
|
history
diff --git
a/js/util.js
b/js/util.js
index 0bd671f8dffd0d268bd6bc91dfa595522ced7994..e064c173b9b1abe35d02c01c617c4ab6ee0e128e 100644
(file)
--- 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 = {