mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-10 19:46:34 +03:00
Remove MAC delay for options page
This commit is contained in:
parent
7b98ed1ce7
commit
d3b828303c
|
@ -49,7 +49,13 @@ chrome.runtime.getBackgroundPage( (bgWindow) =>
|
|||
);
|
||||
// READY TO RENDER
|
||||
|
||||
setTimeout(() => { document.documentElement.style.display = 'initial'; }, 200); // Mac bug: https://bugs.chromium.org/p/chromium/issues/detail?id=428044
|
||||
const show = () => { document.documentElement.style.display = 'initial'; };
|
||||
|
||||
if (theState.flags.ifInsideOptionsPage) {
|
||||
show();
|
||||
} else {
|
||||
setTimeout(show, 200); // Mac bug: https://bugs.chromium.org/p/chromium/issues/detail?id=428044
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user