Using the new time point browser on the sidebar

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:18:42 -02:00
1 parent fd9cfed8e9
commit d721c0dbde
13 files changed
+164 -72

No files matched your search

@@ -25,7 +25,16 @@ Template.viewerSection.helpers({
const timepoints = timepointApi.all();
return {
timepointApi,
timepoints
timepoints,
timepointChildTemplate: 'timepointBrowserStudies',
studyChildTemplate: 'studyBrowserSeries',
studyClickCallback(studyInformation, element) {
const $element = $(element);
$element.siblings().removeClass('active');
$element.toggleClass('active');
}
};
}
});