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;
|
return;
|
||||||
}
|
}
|
||||||
if (type === 'findbarclose') {
|
if (type === 'findbarclose') {
|
||||||
PDFViewerApplication.eventBus.dispatch('findbarclose', {
|
PDFViewerApplication.eventBus.dispatch(type, { source: window, });
|
||||||
source: window,
|
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PDFViewerApplication.eventBus.dispatch('find', {
|
PDFViewerApplication.eventBus.dispatch('find', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user