use $.append
This commit is contained in:
parent
f77a6e8c7f
commit
dcba533001
@ -2586,7 +2586,7 @@
|
|||||||
_ref2 = filesize.textContent.match(/(\d+)x/), _ = _ref2[0], max = _ref2[1];
|
_ref2 = filesize.textContent.match(/(\d+)x/), _ = _ref2[0], max = _ref2[1];
|
||||||
img.style.maxWidth = "-moz-calc(" + max + "px)";
|
img.style.maxWidth = "-moz-calc(" + max + "px)";
|
||||||
}
|
}
|
||||||
return a.appendChild(img);
|
return $.append(a, img);
|
||||||
},
|
},
|
||||||
dialog: function() {
|
dialog: function() {
|
||||||
var controls, delform, imageType, option, select, _i, _len, _ref2;
|
var controls, delform, imageType, option, select, _i, _len, _ref2;
|
||||||
|
|||||||
@ -1941,7 +1941,7 @@ imgExpand =
|
|||||||
filesize = $ 'span.filesize', a.parentNode
|
filesize = $ 'span.filesize', a.parentNode
|
||||||
[_, max] = filesize.textContent.match /(\d+)x/
|
[_, max] = filesize.textContent.match /(\d+)x/
|
||||||
img.style.maxWidth = "-moz-calc(#{max}px)"
|
img.style.maxWidth = "-moz-calc(#{max}px)"
|
||||||
a.appendChild img
|
$.append a, img
|
||||||
|
|
||||||
dialog: ->
|
dialog: ->
|
||||||
controls = $.el 'div',
|
controls = $.el 'div',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user