Try even sooner

Former-commit-id: c110c82bb481ed5a6bcc24761776b223f371fe8d [formerly 1f3892347332966ea6629376cb6622f97cd5ff94 [formerly 2e6fd129d47a924b0a2d7a9a048cf9d41bdbf29e]]
Former-commit-id: b243c4e8a3b4668015b40ce0aadb44b6ca581425
Former-commit-id: 82db1fde52d000e884e8e1463985d8eaff23a38a
This commit is contained in:
Jaifroid 2021-05-25 07:31:50 +01:00
parent e43fc98d28
commit 4c6a74d0b1

View File

@ -3060,6 +3060,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
zimType = /-\/static\/main\.css/i.test(doc.head.innerHTML) ? "desktop-stx" : zimType; //Support stackexchange
zimType = /minerva|mobile[^"']*\.css/i.test(doc.head.innerHTML) ? "mobile" : zimType;
docBody.style.fontSize = ~zimType.indexOf("stx") ? params.relativeFontSize * 1.5 + "%" : params.relativeFontSize + "%";
checkToolbar();
//Set page width according to user preference
removePageMaxWidth();
openAllSections();
@ -3072,7 +3073,6 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
var determinedTheme = params.cssTheme == 'auto' ? cssUIThemeGetOrSet('auto') : params.cssTheme;
uiUtil.insertBreakoutLink(determinedTheme);
}
checkToolbar();
// The content is ready : we can hide the spinner
setTab();
setTimeout(function() {