Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Cleanup input switch

Chocobozzz13b78db38e87
diff --git a/client/e2e/src/suites-local/signup.e2e-spec.ts b/client/e2e/src/suites-local/signup.e2e-spec.ts
index 98dc469c9c..3e3518a792 100644
--- a/client/e2e/src/suites-local/signup.e2e-spec.ts
+++ b/client/e2e/src/suites-local/signup.e2e-spec.ts
@@ -35,7 +35,7 @@ function checkEndMessage (options: {
}
{
- const checkEmail = 'Check your emails'
+ const checkEmail = 'Check your email'
if (requiresEmailVerification) {
expect(message).toContain(checkEmail)
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts
index 4bd36cbe59..4b3b33bcce 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts
@@ -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
}
diff --git a/client/src/app/shared/shared-forms/input-switch.component.html b/client/src/app/shared/shared-forms/input-switch.component.html
index ad400a82fa..532470289d 100644
--- a/client/src/app/shared/shared-forms/input-switch.component.html
+++ b/client/src/app/shared/shared-forms/input-switch.component.html
@@ -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>