Fix unintentional resizing of viewports
This commit is contained in:
parent
f7e888d1be
commit
31a9f09992
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
import { StudyImportStatus } from '../both/collections';
|
||||
|
||||
Meteor.publish('studyImportStatus', () => {
|
||||
return StudyImportStatus.find();
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user