Commit 865508b5 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #82 from hypothesis/tabs-selection-groups

On group change, reset tab selection to annotations if the selected t…
parents 0a8f03cc c09e8dd2
...@@ -325,9 +325,6 @@ module.exports = function WidgetController( ...@@ -325,9 +325,6 @@ module.exports = function WidgetController(
} }
annotationUI.clearSelectedAnnotations(); annotationUI.clearSelectedAnnotations();
loadAnnotations(crossframe.frames); loadAnnotations(crossframe.frames);
// When switching groups, reset back to the annotations tab
annotationUI.selectTab(uiConstants.TAB_ANNOTATIONS);
}); });
// Watch anything that may require us to reload annotations. // Watch anything that may require us to reload annotations.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment