mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 20:22:13 +00:00
Make sure each pair of radio buttons gets a unique name attribute in the toggle switch directive.
This commit is contained in:
parent
1848befcb7
commit
82aa7c30a6
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ define [
|
|||
|
||||
<input
|
||||
type="radio"
|
||||
name="editor-mode"
|
||||
name="toggle-switch-{{$id}}"
|
||||
class="toggle-switch-input"
|
||||
id="toggle-switch-false-{{$id}}"
|
||||
ng-value="false"
|
||||
|
@ -25,7 +25,7 @@ define [
|
|||
<input
|
||||
type="radio"
|
||||
class="toggle-switch-input"
|
||||
name="editor-mode"
|
||||
name="toggle-switch-{{$id}}"
|
||||
id="toggle-switch-true-{{$id}}"
|
||||
ng-value="true"
|
||||
ng-model="ngModel"
|
||||
|
|
Loading…
Reference in a new issue