don't need style.className anymore

This commit is contained in:
James Campos 2011-07-20 13:26:08 -07:00
parent 9f160ce9db
commit d70c47cd6e
2 changed files with 1 additions and 3 deletions

View File

@ -2500,8 +2500,7 @@
g.callbacks.push(imgExpand.node);
imgExpand.dialog();
$.bind(window, 'resize', imgExpand.resize);
imgExpand.style = $.addStyle("body.fitheight img[md5] + img { max-height: " + d.body.clientHeight + "px }");
return imgExpand.style.className = 'height';
return imgExpand.style = $.addStyle("body.fitheight img[md5] + img { max-height: " + d.body.clientHeight + "px }");
},
node: function(root) {
var a, thumb;

View File

@ -1882,7 +1882,6 @@ imgExpand =
imgExpand.dialog()
$.bind window, 'resize', imgExpand.resize
imgExpand.style = $.addStyle "body.fitheight img[md5] + img { max-height: #{d.body.clientHeight}px }"
imgExpand.style.className = 'height'
node: (root) ->
return unless thumb = $ 'img[md5]', root