diff options
author | Brion Vibber <brion@status.net> | 2010-11-08 15:32:41 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-08 15:32:41 -0800 |
commit | 551b196a3572ac9dabcda47abc92db201fb0e6c9 (patch) | |
tree | 7d40da19558305b9ae5dfb1e6d66b012ab72bee9 /js | |
parent | 32321de5e048ee50417a6d91b651180c28a801b1 (diff) |
doomy doom doom
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js index a4eb0fc28..15fb16310 100644 --- a/js/util.js +++ b/js/util.js @@ -431,16 +431,19 @@ var SN = { // StatusNet //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="inline_thumb">Thumb: <img/></div>'); + var thumb = $('<div class="attachment-thumb">Thumb: <img/></div>'); thumb.find('img').attr('src', thumbUrl).last(); - notice.append(thumb); + notice.find('.entry-title .entry-content').append(thumb); } + */ }); if ($('#shownotice').length == 0) { + /* var t; notice.find('a.thumbnail').hover( function() { @@ -465,6 +468,7 @@ var SN = { // StatusNet $(this).closest('.entry-title').removeClass('ov'); } ); + */ } } }, |