From 444ed34dd0786487707b24f1a6cb13c443889d44 Mon Sep 17 00:00:00 2001 From: Cristian Necula Date: Tue, 19 Mar 2019 12:22:42 +0200 Subject: [PATCH] (patch) OmnitableRepeaterMixin._configureElement: code path is unreachable _configureElement expects to be called with a fresh element, so it can't have the `hidden` attribute set. --- cosmoz-omnitable-repeater-mixin.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cosmoz-omnitable-repeater-mixin.html b/cosmoz-omnitable-repeater-mixin.html index 4a415b8e..cfe1d320 100644 --- a/cosmoz-omnitable-repeater-mixin.html +++ b/cosmoz-omnitable-repeater-mixin.html @@ -163,9 +163,7 @@ element.__column = column; if (column === this.groupOnColumn) { - element.setAttribute('hidden', ''); - } else if (element.hasAttribute('hidden')) { - element.removeAttribute('hidden', ''); + element.setAttribute('hidden', true); } element.setAttribute('slot', this._slotName);