diff --git a/index.html b/index.html index 0a41da9..1b79db6 100644 --- a/index.html +++ b/index.html @@ -30,10 +30,10 @@ function generateDeck(DDF) { DDF.sort(function (a,b) { return a.dataIndex - b.dataIndex; }); - DDF.forEach( function (data) { + DDF.forEach( function (dataBlock) { var tempcards = []; cards.forEach( function (current) { - DDF.data.forEach( function (value) { + dataBlock.data.forEach( function (value) { tempcards.push(current+value); } ); } );