Fix error message typo

It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
This commit is contained in:
Stratos Voukelatos 2014-03-27 21:43:58 +02:00
parent 4ead351104
commit 6a8c998ebd

View File

@ -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;