1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

Upgrade TypeScript (#1355)

* Upgrade TypeScript

* Update login.component.ts

Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
This commit is contained in:
Oscar Hinton
2020-08-12 21:45:03 +02:00
committed by GitHub
parent 5861a51d54
commit 289177259a
6 changed files with 93 additions and 284 deletions

View File

@@ -210,7 +210,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
if (this.isChrome() && text === '') {
text = '\u0000';
}
const textarea = doc.createElement('textarea');
textarea.textContent = text == null || text === '' ? ' ' : text;
// Prevent scrolling to bottom of page in MS Edge.