Slightly more simplified dispatching of the 'findbarclose' events in firefoxcom.js
This commit is contained in:
parent
8e5aa484fb
commit
d1af8bd196
@ -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', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user