Skip to content

Commit

Permalink
Merge pull request #11 from jepp/patch-1
Browse files Browse the repository at this point in the history
Added [0] to getElementByTagName('head'). Not sure how that worked otherwise
  • Loading branch information
Parashuram N committed Jul 14, 2012
2 parents 46eca5c + 6ba83bb commit cd60cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var buildIndexedDB = (function(){
if (i < moduleList.length - 1) addScript(i + 1);
else callback();
}
document.getElementsByTagName('head').appendChild(x);
document.getElementsByTagName('head')[0].appendChild(x);
}(0));
},
concatScripts: function(callback){
Expand Down

0 comments on commit cd60cdb

Please sign in to comment.