diff --git a/web/firefoxcom.js b/web/firefoxcom.js index d5a39685e..9aaea80ba 100644 --- a/web/firefoxcom.js +++ b/web/firefoxcom.js @@ -177,9 +177,7 @@ class MozL10n { return; } if (type === 'findbarclose') { - PDFViewerApplication.eventBus.dispatch('findbarclose', { - source: window, - }); + PDFViewerApplication.eventBus.dispatch(type, { source: window, }); return; } PDFViewerApplication.eventBus.dispatch('find', {