Fix: hide the header in error page
This commit is contained in:
parent
77b6b6c857
commit
1d1c7da19e
|
@ -213,6 +213,7 @@
|
||||||
|
|
||||||
function initError(err) {
|
function initError(err) {
|
||||||
$('.main').insertBefore(buildWarning(err), $('.main').childNodes[0]);
|
$('.main').insertBefore(buildWarning(err), $('.main').childNodes[0]);
|
||||||
|
$('.header').style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildWarning(err) {
|
function buildWarning(err) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user