Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for -moz gradient backgrounds

  • Loading branch information...
commit 22c004342a76dc7f310445a1899239be767d4702 1 parent d198f45
@niklasvh niklasvh authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  html2canvas.js
View
3  html2canvas.js
@@ -160,7 +160,8 @@ function html2canvas(el,userOptions) {
if (el.nodeType==1 || typeof el.nodeType == "undefined"){
var background_image = getCSS(el,'background-image');
- if (background_image && background_image != "1" && background_image != "none" && background_image.substring(0,7)!="-webkit"){
+
+ if (background_image && background_image != "1" && background_image != "none" && background_image.substring(0,7)!="-webkit" && background_image.substring(0,4)!="-moz"){
var src = backgroundImageUrl(background_image);
preloadImage(src);
}
Please sign in to comment.
Something went wrong with that request. Please try again.