mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 12:31:48 +00:00
Merge pull request #867 from sharelatex/pr-fix-togglers-with-v2-history
Set a unique name attribute for the toggle switch directive.
This commit is contained in:
commit
85ce1d1a11
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