From 6a8c998ebdb76e91051055befd623b28d92acc75 Mon Sep 17 00:00:00 2001 From: Stratos Voukelatos Date: Thu, 27 Mar 2014 21:43:58 +0200 Subject: [PATCH] Fix error message typo It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'. --- web/pdf_find_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pdf_find_controller.js b/web/pdf_find_controller.js index 56d0d4e09..337622c8f 100644 --- a/web/pdf_find_controller.js +++ b/web/pdf_find_controller.js @@ -64,7 +64,7 @@ var PDFFindController = { initialize: function(options) { if(typeof PDFFindBar === 'undefined' || PDFFindBar === null) { throw 'PDFFindController cannot be initialized ' + - 'without a PDFFindController instance'; + 'without a PDFFindBar instance'; } this.pdfPageSource = options.pdfPageSource;