From 8da1a8d864bd7f3a3ccf73e63c8f5914a67fce78 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Wed, 7 Oct 2020 20:16:43 +0300 Subject: [PATCH] DF theme: fix flickering at tx page --- .../block_scout_web/templates/transaction/overview.html.eex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 23fbc059d0..86125905a4 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -14,8 +14,9 @@ document.documentElement.className += " " + "dark-forest-theme-applied"; return; } - document.getElementsByClassName("layout-container")[0].style.visibility = "visible"; }) + + document.getElementsByClassName("layout-container")[0].style.visibility = "visible"; } window.onload = applyCustomMode()