Merge pull request #6351 from overleaf/jk-cm6-context-menu-revamp

[web] Spelling: use button instead of `a` tag

GitOrigin-RevId: e63a89eb781bbecf33c49cfcd83e8ff7612fa554
This commit is contained in:
Jakob Ackermann 2022-01-19 10:41:36 +00:00 committed by Copybot
parent 1fc0b3e4aa
commit 5701cc9e4b

View file

@ -29,8 +29,8 @@ ng-class="{open: $ctrl.open, 'spell-check-menu-from-bottom': $ctrl.layoutFromBot
>
<ul class="dropdown-menu">
<li ng-repeat="suggestion in $ctrl.highlight.suggestions | limitTo:8">
<a
href
<button
class="btn-link text-left dropdown-menu-button"
ng-click="$ctrl.replaceWord({ highlight: $ctrl.highlight, suggestion: suggestion })"
>
{{ suggestion }}