use $.append

This commit is contained in:
James Campos 2011-07-18 16:14:30 -07:00
parent f77a6e8c7f
commit dcba533001
2 changed files with 2 additions and 2 deletions

View File

@ -2586,7 +2586,7 @@
_ref2 = filesize.textContent.match(/(\d+)x/), _ = _ref2[0], max = _ref2[1];
img.style.maxWidth = "-moz-calc(" + max + "px)";
}
return a.appendChild(img);
return $.append(a, img);
},
dialog: function() {
var controls, delform, imageType, option, select, _i, _len, _ref2;

View File

@ -1941,7 +1941,7 @@ imgExpand =
filesize = $ 'span.filesize', a.parentNode
[_, max] = filesize.textContent.match /(\d+)x/
img.style.maxWidth = "-moz-calc(#{max}px)"
a.appendChild img
$.append a, img
dialog: ->
controls = $.el 'div',