diff --git a/showPhotos/js/main.js b/showPhotos/js/main.js index 8739915..b22aacc 100644 --- a/showPhotos/js/main.js +++ b/showPhotos/js/main.js @@ -24,7 +24,7 @@ for(var i = 0; i < styleSheet.length ;i++){ if(heads.length) heads[0].appendChild(link); else - doc.documentElement.appendChild(link); + document.documentElement.appendChild(link); } for(var i = 0; i < scriptArray.length ;i++){