From 0314bd802537950d210f07731c260c619fd41518 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 28 Jul 2017 17:59:33 +0300 Subject: [PATCH] fix(checkbox): server-side rendering error when checking textContent (#5470) Adds an extra null check when trimming the checkbox `textContent`. This avoids issues in Universal where the `textContent` will be undefined. Fixes #5453. --- src/lib/checkbox/checkbox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/checkbox/checkbox.html b/src/lib/checkbox/checkbox.html index 78090d6208b5..cece0500866c 100644 --- a/src/lib/checkbox/checkbox.html +++ b/src/lib/checkbox/checkbox.html @@ -1,6 +1,6 @@