mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Merge pull request #297 from Grom-S/patch-1
incorect z-index sorting fixed
This commit is contained in:
commit
1d4b1753d6
@ -39,7 +39,7 @@ _html2canvas.Renderer = function(parseQueue, options){
|
||||
})(parseQueue);
|
||||
|
||||
function sortZ(context) {
|
||||
Object.keys(context).sort().forEach(function(zi) {
|
||||
Object.keys(context).sort(function(a, b) { return a - b; }).forEach(function(zi) {
|
||||
var nonPositioned = [],
|
||||
floated = [],
|
||||
positioned = [],
|
||||
|
Loading…
Reference in New Issue
Block a user