Commit 309df24c authored by Nick Stenning's avatar Nick Stenning

Merge pull request #2536 from hypothesis/2521-hide-unanchored-warnings-when-not-on-sidebar

Hide unanchored warnings when not sidebar
parents 9a90f5b0 a3979671
......@@ -11,6 +11,7 @@ module.exports = class WidgetController
streamer, streamFilter, store, threading
) ->
$scope.isStream = true
$scope.isSidebar = true
$scope.threadRoot = threading.root
@chunkSize = 200
......
......@@ -47,6 +47,6 @@
</ul>
<footer class="thread-anchor-notice"
ng-if="feature('show_unanchored_annotations') && !vm.container.message.$anchored">
ng-if="feature('show_unanchored_annotations') && isSidebar && !vm.container.message.$anchored">
<em>We can't find the exact position of this annotation.</em>
</footer>
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