commit e8e0f5e83162e7566cc39c12841732d68be6026e
parent 6de3fa4d47749d3a46eb46d1541a725f7ae15ae8
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date: Fri, 16 Jan 2015 14:03:08 -0600
Bump MAX_PAGES to 15
Re https://forums.zotero.org/discussion/45641/error-getting-metadata/#Item_10
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) {