export html2canvas, pass value not def to backgroundImage

This commit is contained in:
Andy Edinborough 2012-12-28 15:49:38 -06:00
parent 04782c1716
commit d7bef66cc5
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ _html2canvas.Preload = function( options ) {
} }
} else { } else {
src = _html2canvas.Util.backgroundImage(background_image.definition); src = _html2canvas.Util.backgroundImage(background_image.value);
methods.loadImage(src); methods.loadImage(src);
} }

View File

@ -1,4 +1,4 @@
html2canvas = function( elements, opts ) { html2canvas = window.html2canvas = function( elements, opts ) {
var queue, var queue,
canvas, canvas,