diff --git a/lib/epub-parser.js b/lib/epub-parser.js index 6b26dea..013833c 100644 --- a/lib/epub-parser.js +++ b/lib/epub-parser.js @@ -384,7 +384,7 @@ EpubParser = (function() { } if(prop.match(/identifier$/i)) { - if(typeof metas[prop][0].$.id) { + if(metas[prop][0].$) { if(metas[prop][0].$.id==uniqueIdentifier) { if(typeof content == 'object') { console.log('warning - content not fully parsed');