Cleanup input switch
This commit is contained in:
parent
f3907ceeaf
commit
13b78db38e
3 changed files with 4 additions and 6 deletions
|
@ -35,7 +35,7 @@ function checkEndMessage (options: {
|
|||
}
|
||||
|
||||
{
|
||||
const checkEmail = 'Check your emails'
|
||||
const checkEmail = 'Check your email'
|
||||
|
||||
if (requiresEmailVerification) {
|
||||
expect(message).toContain(checkEmail)
|
||||
|
|
|
@ -32,7 +32,7 @@ export class MyAccountSettingsComponent implements OnInit, AfterViewChecked {
|
|||
|
||||
ngAfterViewChecked () {
|
||||
if (window.location.hash && window.location.hash !== this.lastScrollHash) {
|
||||
// this.viewportScroller.scrollToAnchor(window.location.hash.replace('#', ''))
|
||||
this.viewportScroller.scrollToAnchor(window.location.hash.replace('#', ''))
|
||||
|
||||
this.lastScrollHash = window.location.hash
|
||||
}
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
<div class="root">
|
||||
<input type="checkbox" role="switch" [checked]="checked" [name]="inputName" [id]="inputName" (change)="update()" [disabled]="preventUpdate" />
|
||||
<label [for]="inputName" class="ms-auto">{{ label }}</label>
|
||||
</div>
|
||||
<input type="checkbox" role="switch" [checked]="checked" [name]="inputName" [id]="inputName" (change)="update()" [disabled]="preventUpdate" />
|
||||
<label [for]="inputName" class="ms-auto">{{ label }}</label>
|
||||
|
|
Loading…
Reference in a new issue