mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix logging in IE9
This commit is contained in:
parent
84c1dc6283
commit
7ce46e95cd
@ -1,5 +1,5 @@
|
|||||||
function log() {
|
function log() {
|
||||||
if (window.html2canvas.logging && window.console && window.console.log) {
|
if (window.html2canvas.logging && window.console && window.console.log) {
|
||||||
window.console.log.apply(window.console, [(Date.now() - window.html2canvas.start) + "ms", "html2canvas:"].concat([].slice.call(arguments, 0)));
|
Function.prototype.bind.call(window.console.log, (window.console)).apply(window.console, [(Date.now() - window.html2canvas.start) + "ms", "html2canvas:"].concat([].slice.call(arguments, 0)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user