mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix render ordering of nodes that form fake stacking contexts
This commit is contained in:
@ -12,7 +12,12 @@
|
||||
timer = date.getTime();
|
||||
options = options || {};
|
||||
|
||||
html2canvas(this, options).then(function(canvas) {
|
||||
var promise = html2canvas(this, options);
|
||||
promise.catch(function(err) {
|
||||
console.log("html2canvas threw an error", err);
|
||||
});
|
||||
|
||||
promise.then(function(canvas) {
|
||||
var $canvas = $(canvas),
|
||||
finishTime = new Date();
|
||||
|
||||
|
Reference in New Issue
Block a user