From a8d0a2293fcb39808b1e0db3bdb8db70166010d3 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Mon, 21 Oct 2019 18:45:15 -0500 Subject: [PATCH] revert lovelace selectable text (#4095) --- src/panels/lovelace/hui-root.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 1f099a1364..8c67d10708 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -73,14 +73,6 @@ class HUIRoot extends LitElement { ); } - protected firstUpdated(changedProperties: PropertyValues): void { - super.firstUpdated(changedProperties); - this.classList.toggle( - "disable-text-select", - /Chrome/.test(navigator.userAgent) && /Android/.test(navigator.userAgent) - ); - } - protected render(): TemplateResult | void { return html`