From a4d3c0c2351a81313ff776301ec6c838217cc154 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 26 May 2019 18:18:12 -0700 Subject: website: minor tweak to hudnotification --- docs/res/base.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/res/base.js b/docs/res/base.js index dc1b28710..7d38721b0 100644 --- a/docs/res/base.js +++ b/docs/res/base.js @@ -63,6 +63,7 @@ var HUDNotification = { return } n.visible = true + n.el.style.visibility = null clearTimeout(n.timer) n.timer = setTimeout(function(){ n.hide() }, duration || 1200) }, @@ -72,6 +73,7 @@ var HUDNotification = { if (n.visible) { n.el.classList.remove('visible') n.visible = false + n.el.style.visibility = 'hidden' } } } -- cgit v1.2.3