From a676b3dc070995ad4bb22c67ed7e8f32d64fe2eb Mon Sep 17 00:00:00 2001 From: Thomas Thiebaud Date: Wed, 4 Jul 2018 10:21:44 +0200 Subject: [PATCH] feat: simplify UI --- src/ui.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui.ts b/src/ui.ts index 75be751..286a60d 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -26,9 +26,6 @@ export const uiFactory = ( Variation: `${variation} (${getVariationPercentage( test.getVariation(variation) as InternalVariation, )})`, - Browser: - getUserAgentInfo().name + ' ' + getUserAgentInfo().version, - 'Mobile device': getUserAgentInfo().isMobile }; return ` @@ -104,6 +101,7 @@ export const uiFactory = ( } testList.innerHTML = (await Promise.all(list.map(renderTest))).join(''); }); + const button = document.createElement('button'); button.className = 'reset';