From 62fa6038e784a3aef6956ed69056c456f90e27ea Mon Sep 17 00:00:00 2001 From: Obexer Christoph Date: Wed, 23 Nov 2011 13:57:37 +0100 Subject: [PATCH] fix script error in html2canvas.Util.getCSS --- src/Core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core.js b/src/Core.js index 1e8478a..cf3524b 100644 --- a/src/Core.js +++ b/src/Core.js @@ -109,9 +109,9 @@ html2canvas.Util.getCSS = function (el, attribute) { if ( rsLeft ) { el.runtimeStyle.left = rsLeft; }*/ - val = $(el).css(attribute); + // val = $(el).css(attribute); // } - return val; + return $(el).css(attribute); };