mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Give more time for viewport to be ready
This commit is contained in:
parent
5811118277
commit
92397baa39
1 changed files with 1 additions and 1 deletions
|
|
@ -1371,7 +1371,7 @@ const getPopupData = async function(tabId, first = false) {
|
|||
) {
|
||||
dom.cl.add(dom.root, 'portrait');
|
||||
} else if ( dom.cl.has(dom.root, 'desktop') ) {
|
||||
await nextFrames(4);
|
||||
await nextFrames(8);
|
||||
const main = qs$('#main');
|
||||
const firewall = qs$('#firewall');
|
||||
const minWidth = (main.offsetWidth + firewall.offsetWidth) / 1.1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue