mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 05:11:49 +00:00
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:
parent
1fc0b3e4aa
commit
5701cc9e4b
1 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue