mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
Give more time for viewport to be ready
This commit is contained in:
parent
5811118277
commit
92397baa39
@ -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 New Issue
Block a user