mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
bug fixes, and further simplification of API
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
timeoutTimer = false,
|
||||
timer = date.getTime();
|
||||
options = options || {};
|
||||
options.elements = this;
|
||||
|
||||
options.onrendered = function( canvas ) {
|
||||
var $canvas = $(canvas),
|
||||
@@ -45,7 +44,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
html2obj = html2canvas(this[0], options);
|
||||
html2obj = html2canvas(this, options);
|
||||
|
||||
function throwMessage(msg,duration){
|
||||
window.clearTimeout(timeoutTimer);
|
||||
|
||||
Reference in New Issue
Block a user