don't need style.className anymore
This commit is contained in:
parent
9f160ce9db
commit
d70c47cd6e
@ -2500,8 +2500,7 @@
|
|||||||
g.callbacks.push(imgExpand.node);
|
g.callbacks.push(imgExpand.node);
|
||||||
imgExpand.dialog();
|
imgExpand.dialog();
|
||||||
$.bind(window, 'resize', imgExpand.resize);
|
$.bind(window, 'resize', imgExpand.resize);
|
||||||
imgExpand.style = $.addStyle("body.fitheight img[md5] + img { max-height: " + d.body.clientHeight + "px }");
|
return imgExpand.style = $.addStyle("body.fitheight img[md5] + img { max-height: " + d.body.clientHeight + "px }");
|
||||||
return imgExpand.style.className = 'height';
|
|
||||||
},
|
},
|
||||||
node: function(root) {
|
node: function(root) {
|
||||||
var a, thumb;
|
var a, thumb;
|
||||||
|
|||||||
@ -1882,7 +1882,6 @@ imgExpand =
|
|||||||
imgExpand.dialog()
|
imgExpand.dialog()
|
||||||
$.bind window, 'resize', imgExpand.resize
|
$.bind window, 'resize', imgExpand.resize
|
||||||
imgExpand.style = $.addStyle "body.fitheight img[md5] + img { max-height: #{d.body.clientHeight}px }"
|
imgExpand.style = $.addStyle "body.fitheight img[md5] + img { max-height: #{d.body.clientHeight}px }"
|
||||||
imgExpand.style.className = 'height'
|
|
||||||
|
|
||||||
node: (root) ->
|
node: (root) ->
|
||||||
return unless thumb = $ 'img[md5]', root
|
return unless thumb = $ 'img[md5]', root
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user