Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
309df24c
Commit
309df24c
authored
Sep 23, 2015
by
Nick Stenning
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2536 from hypothesis/2521-hide-unanchored-warnings-when-not-on-sidebar
Hide unanchored warnings when not sidebar
parents
9a90f5b0
a3979671
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
widget-controller.coffee
h/static/scripts/widget-controller.coffee
+1
-0
thread.html
h/templates/client/thread.html
+1
-1
No files found.
h/static/scripts/widget-controller.coffee
View file @
309df24c
...
@@ -11,6 +11,7 @@ module.exports = class WidgetController
...
@@ -11,6 +11,7 @@ module.exports = class WidgetController
streamer
,
streamFilter
,
store
,
threading
streamer
,
streamFilter
,
store
,
threading
)
->
)
->
$scope
.
isStream
=
true
$scope
.
isStream
=
true
$scope
.
isSidebar
=
true
$scope
.
threadRoot
=
threading
.
root
$scope
.
threadRoot
=
threading
.
root
@
chunkSize
=
200
@
chunkSize
=
200
...
...
h/templates/client/thread.html
View file @
309df24c
...
@@ -47,6 +47,6 @@
...
@@ -47,6 +47,6 @@
</ul>
</ul>
<footer
class=
"thread-anchor-notice"
<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>
<em>
We can't find the exact position of this annotation.
</em>
</footer>
</footer>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment