mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
"tests: small bugfix"
This commit is contained in:
parent
d78687a3dc
commit
f47f9025b7
@ -180,7 +180,7 @@ $(function() {
|
|||||||
|
|
||||||
overallColor += (red + green + blue) / 3;
|
overallColor += (red + green + blue) / 3;
|
||||||
}
|
}
|
||||||
overallColor /= len;
|
overallColor /= (len / 4);
|
||||||
|
|
||||||
QUnit.notEqual(overallColor, 255, 'No Background Gradient - CSS was ' + src);
|
QUnit.notEqual(overallColor, 255, 'No Background Gradient - CSS was ' + src);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user