don't need style.className anymore
This commit is contained in:
parent
9f160ce9db
commit
d70c47cd6e
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user