Fix error message typo
It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
This commit is contained in:
parent
4ead351104
commit
6a8c998ebd
@ -64,7 +64,7 @@ var PDFFindController = {
|
|||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
if(typeof PDFFindBar === 'undefined' || PDFFindBar === null) {
|
if(typeof PDFFindBar === 'undefined' || PDFFindBar === null) {
|
||||||
throw 'PDFFindController cannot be initialized ' +
|
throw 'PDFFindController cannot be initialized ' +
|
||||||
'without a PDFFindController instance';
|
'without a PDFFindBar instance';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.pdfPageSource = options.pdfPageSource;
|
this.pdfPageSource = options.pdfPageSource;
|
||||||
|
Loading…
Reference in New Issue
Block a user