mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 16:42:46 +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
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
name="editor-mode"
|
name="toggle-switch-{{$id}}"
|
||||||
class="toggle-switch-input"
|
class="toggle-switch-input"
|
||||||
id="toggle-switch-false-{{$id}}"
|
id="toggle-switch-false-{{$id}}"
|
||||||
ng-value="false"
|
ng-value="false"
|
||||||
|
@ -25,7 +25,7 @@ define [
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
class="toggle-switch-input"
|
class="toggle-switch-input"
|
||||||
name="editor-mode"
|
name="toggle-switch-{{$id}}"
|
||||||
id="toggle-switch-true-{{$id}}"
|
id="toggle-switch-true-{{$id}}"
|
||||||
ng-value="true"
|
ng-value="true"
|
||||||
ng-model="ngModel"
|
ng-model="ngModel"
|
||||||
|
|
Loading…
Reference in a new issue