mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01: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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user