1
0
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:
Raymond Hill 2022-11-24 11:21:13 -05:00
parent 5811118277
commit 92397baa39
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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;