Fix unintentional resizing of viewports
This commit is contained in:
parent
f7e888d1be
commit
31a9f09992
@ -1,11 +1,10 @@
|
|||||||
Template.flexboxLayout.events({
|
Template.flexboxLayout.events({
|
||||||
'transitionend .sidebarMenu'() {
|
'transitionend .sidebarMenu'(event) {
|
||||||
handleResize();
|
if (!event.target.classList.contains('sidebarMenu')) {
|
||||||
},
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
'transitionend .sidebar-option'(event) {
|
handleResize();
|
||||||
// Prevent this event from bubbling
|
|
||||||
event.stopPropagation();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
Template.flexboxLayout.events({
|
Template.flexboxLayout.events({
|
||||||
'transitionend .sidebarMenu'(event, instance) {
|
'transitionend .sidebarMenu'(event) {
|
||||||
|
if (!event.target.classList.contains('sidebarMenu')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
handleResize();
|
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', () => {
|
Meteor.publish('studyImportStatus', () => {
|
||||||
return StudyImportStatus.find();
|
return StudyImportStatus.find();
|
||||||
});
|
});
|
||||||
Loading…
Reference in New Issue
Block a user