diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-05 20:31:19 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-05 20:31:19 +0200 |
commit | bfd20019d5a01ba587e0a5ae5289acc73a6fc21e (patch) | |
tree | aea4659fe7563c10bcb4fbb11003e030e1c5929d /js | |
parent | 9b971c54b0e377996623fe0fd686a66457a378e6 (diff) |
added padding to first img child to mark it as thumbnail
Diffstat (limited to 'js')
-rw-r--r-- | js/items.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/items.js b/js/items.js index b84f93f67..8c80b6073 100644 --- a/js/items.js +++ b/js/items.js @@ -409,6 +409,8 @@ var News = News || {}; this._read = this._$html.hasClass('read'); this._locked = false; this._important = this._$html.find('li.star').hasClass('important'); + this._$html.children('.body').children('img:first-child').addClass('thumbnail'); + var $stamp = this._$html.find('.timestamp'); this._timestamp = parseInt($stamp.html()); $stamp.remove(); |