AWV-1: Preventing looping on display set navigation
This commit is contained in:
1 parent
17f8d87d32
commit
8145e08f66
5 files changed
+54
-9
No files matched your search
+8
-2
@@ -3,10 +3,16 @@ import { Template } from 'meteor/templating';
|
||||
|
||||
Template.displaySetNavigation.events({
|
||||
'click .js-next'(event, instance) {
|
||||
OHIF.viewer.moveDisplaySet(true);
|
||||
OHIF.viewer.moveDisplaySets(true);
|
||||
},
|
||||
|
||||
'click .js-prev'(event, instance) {
|
||||
OHIF.viewer.moveDisplaySet(false);
|
||||
OHIF.viewer.moveDisplaySets(false);
|
||||
}
|
||||
});
|
||||
|
||||
Template.displaySetNavigation.helpers({
|
||||
disableButton(isPrevious) {
|
||||
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user