diff --git a/src/lib/viewers/BaseViewer.js b/src/lib/viewers/BaseViewer.js index 8922a3e45..e508da271 100644 --- a/src/lib/viewers/BaseViewer.js +++ b/src/lib/viewers/BaseViewer.js @@ -774,7 +774,6 @@ class BaseViewer extends EventEmitter { this.emit('notificationhide'); if (data.data.mode === ANNOTATION_TYPE_DRAW) { - this.emit('notificationshow', __('notification_annotation_draw_mode')); this.previewUI.replaceHeader(data.data.headerSelector); } break; diff --git a/src/lib/viewers/__tests__/BaseViewer-test.js b/src/lib/viewers/__tests__/BaseViewer-test.js index 2119cbd76..304b74056 100644 --- a/src/lib/viewers/__tests__/BaseViewer-test.js +++ b/src/lib/viewers/__tests__/BaseViewer-test.js @@ -972,7 +972,7 @@ describe('lib/viewers/BaseViewer', () => { expect(base.emit).to.be.calledWith('annotatorevent', data); }); - it('should enable controls and exit draw annotation mode with notification', () => { + it('should enable controls and exit draw annotation mode', () => { const data = { event: ANNOTATOR_EVENT.modeExit, data: {