mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
r402
className to class in page_header.tpl git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@402 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
af07be988c
commit
3bb90433be
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function initPostImages(context)
|
|||
$('var.postImg', context).not($in_spoilers).each(function(){
|
||||
var $v = $(this);
|
||||
var src = $v.attr('title');
|
||||
var $img = $('<img src="'+ src +'" class="'+ $v.attr('className') +'" alt="pic" />');
|
||||
var $img = $('<img src="'+ src +'" class="'+ $v.attr('class') +'" alt="pic" />');
|
||||
$img = fixPostImage($img);
|
||||
var maxW = ($v.hasClass('postImgAligned')) ? postImgAligned_MaxWidth : postImg_MaxWidth;
|
||||
$img.bind('click', function(){ return imgFit(this, maxW); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue