Browse Source

Fix error message typo

It should read 'PDFFindController cannot be initialized without a PDFFindBar instance'.
Stratos Voukelatos 11 years ago
parent
commit
6a8c998ebd
  1. 2
      web/pdf_find_controller.js

2
web/pdf_find_controller.js

@ -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…
Cancel
Save