summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-11-12 12:10:29 -0800
committerBrion Vibber <brion@status.net>2010-11-12 12:10:29 -0800
commit62467f51e520439d3ec44ceb6a66a91ad54d77b6 (patch)
treeb2569d0efbd6d65fe4d7b570dc01f7f66c0e4299 /js
parent46223da59433e602343169a948bc895977ea253f (diff)
Drop commented-out code from old lightbox & thumbnail popup stuff
Diffstat (limited to 'js')
-rw-r--r--js/util.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/js/util.js b/js/util.js
index 15fb16310..bf3c43fd8 100644
--- a/js/util.js
+++ b/js/util.js
@@ -427,50 +427,6 @@ var SN = { // StatusNet
return false;
}).attr('title', SN.msg('showmore_tooltip'));
}
- else {
- //imgLoading : $('address .url')[0].href+'theme/base/images/illustrations/illu_progress_loading-01.gif',
-
- notice.find('a.attachment').each(function() {
- /*
- var attachId = ($(this).attr('id').substring('attachment'.length + 1));
- if (attachId) {
- var thumbUrl = $('address .url')[0].href+'attachment/' + attachId + '/thumb';
- var thumb = $('<div class="attachment-thumb">Thumb: <img/></div>');
- thumb.find('img').attr('src', thumbUrl).last();
- notice.find('.entry-title .entry-content').append(thumb);
- }
- */
- });
-
- if ($('#shownotice').length == 0) {
- /*
- var t;
- notice.find('a.thumbnail').hover(
- function() {
- var anchor = $(this);
- $('a.thumbnail').children('img').hide();
- anchor.closest(".entry-title").addClass('ov');
-
- if (anchor.children('img').length === 0) {
- t = setTimeout(function() {
- $.get($('address .url')[0].href+'attachment/' + (anchor.attr('id').substring('attachment'.length + 1)) + '/thumbnail', null, function(data) {
- anchor.append(data);
- });
- }, 500);
- }
- else {
- anchor.children('img').show();
- }
- },
- function() {
- clearTimeout(t);
- $('a.thumbnail').children('img').hide();
- $(this).closest('.entry-title').removeClass('ov');
- }
- );
- */
- }
- }
},
NoticeDataAttach: function() {