Merge pull request #4529 from stratosv/patch-1

Fix error message typo
This commit is contained in:
Jonas Jenwald 2014-03-27 23:54:33 +01:00
commit 7989c125ba

View File

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