diff --git a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.js b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.js index 371141628..a4c909099 100644 --- a/OHIFViewer/client/components/flexboxLayout/flexboxLayout.js +++ b/OHIFViewer/client/components/flexboxLayout/flexboxLayout.js @@ -1,11 +1,10 @@ Template.flexboxLayout.events({ - 'transitionend .sidebarMenu'() { - handleResize(); - }, + 'transitionend .sidebarMenu'(event) { + if (!event.target.classList.contains('sidebarMenu')) { + return; + } - 'transitionend .sidebar-option'(event) { - // Prevent this event from bubbling - event.stopPropagation(); + handleResize(); } }); diff --git a/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.js b/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.js index 1e1574079..d1f98ca28 100644 --- a/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.js +++ b/Packages/lesiontracker/client/components/flexboxLayout/flexboxLayout.js @@ -1,10 +1,10 @@ Template.flexboxLayout.events({ - 'transitionend .sidebarMenu'(event, instance) { + 'transitionend .sidebarMenu'(event) { + if (!event.target.classList.contains('sidebarMenu')) { + return; + } + handleResize(); - }, - 'transitionend .sidebar-option'(event, instance) { - // Prevent this event from bubbling - event.stopPropagation(); } }); diff --git a/Packages/worklist/server/publications.js b/Packages/worklist/server/publications.js index e03ed5027..a73779203 100644 --- a/Packages/worklist/server/publications.js +++ b/Packages/worklist/server/publications.js @@ -1,5 +1,3 @@ -import { StudyImportStatus } from '../both/collections'; - Meteor.publish('studyImportStatus', () => { return StudyImportStatus.find(); }); \ No newline at end of file