Merge "Fix anchor link setting url bar"

This commit is contained in:
Jenkins 2017-01-19 13:20:24 +00:00 committed by Gerrit Code Review
commit ac2ef89c64
1 changed files with 3 additions and 1 deletions

View File

@ -503,7 +503,9 @@ def rest_method_html(self, node):
<div class="row">
<div class="col-md-2">
<div class="operation">
<a name="%(target)s" class="operation-anchor" href="#%(target)s">
<a name="%(target)s" class="operation-anchor" href="#%(target)s"
onclick="window.location.hash = hash;"
>
<span class="glyphicon glyphicon-link"></span></a>
<span class="label label-%(method)s">%(method)s</span>
</div>