From 1d1c7da19e4405a761d8fbbe2530958d9fc354e8 Mon Sep 17 00:00:00 2001 From: eight Date: Mon, 9 Oct 2017 01:05:44 +0800 Subject: [PATCH] Fix: hide the header in error page --- install-usercss/install-usercss.js | 1 + 1 file changed, 1 insertion(+) diff --git a/install-usercss/install-usercss.js b/install-usercss/install-usercss.js index 345e0199..312f9b2c 100644 --- a/install-usercss/install-usercss.js +++ b/install-usercss/install-usercss.js @@ -213,6 +213,7 @@ function initError(err) { $('.main').insertBefore(buildWarning(err), $('.main').childNodes[0]); + $('.header').style.display = 'none'; } function buildWarning(err) {