From 4c6a74d0b100b83b203f72a6d58943ee5ffae321 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 25 May 2021 07:31:50 +0100 Subject: [PATCH] Try even sooner Former-commit-id: c110c82bb481ed5a6bcc24761776b223f371fe8d [formerly 1f3892347332966ea6629376cb6622f97cd5ff94 [formerly 2e6fd129d47a924b0a2d7a9a048cf9d41bdbf29e]] Former-commit-id: b243c4e8a3b4668015b40ce0aadb44b6ca581425 Former-commit-id: 82db1fde52d000e884e8e1463985d8eaff23a38a --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index d036afdc..86712730 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -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() {