mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
export html2canvas, pass value not def to backgroundImage
This commit is contained in:
parent
04782c1716
commit
d7bef66cc5
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
html2canvas = function( elements, opts ) {
|
html2canvas = window.html2canvas = function( elements, opts ) {
|
||||||
|
|
||||||
var queue,
|
var queue,
|
||||||
canvas,
|
canvas,
|
||||||
|
Loading…
Reference in New Issue
Block a user