Fix options page not showing on Chrome 74 (Chromium 73 works fine)

This commit is contained in:
ilyaigpetrov 2019-05-04 12:20:11 -05:00
parent 4beb6e9fcb
commit 89f394b9a5
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html style="display: none; will-change: contents, display">
<html style="visibility: hidden; will-change: contents, visibility">
<head>
<meta charset="utf-8">
<title>Настройки</title>

View File

@ -49,7 +49,7 @@ chrome.runtime.getBackgroundPage( (bgWindow) =>
);
// READY TO RENDER
const show = () => { document.documentElement.style.display = 'initial'; };
const show = () => { document.documentElement.style.visibility = 'initial'; };
if (theState.flags.ifInsideOptionsPage) {
show();