commit 55d84bcbf34020b413bcf8589ad153ae2db31237
parent af775e60825c70803f3c4fe098577c4386524c66
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 21 Jan 2015 01:01:47 -0500
Merge pull request #609 from aurimasv/retrieve-meta-max-pages
Allow MAX_PAGES (for retrieving metadata) to be user-adjustable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js
@@ -70,7 +70,7 @@ var Zotero_RecognizePDF = new function() {
* @return {Promise} A promise resolved when PDF metadata has been retrieved
*/
this.recognize = function(file, libraryID, stopCheckCallback) {
- const MAX_PAGES = 7;
+ const MAX_PAGES = 15;
var me = this;
return _extractText(file, MAX_PAGES).then(function(lines) {