From 1a67f50dc63ffc20669256cba4af59575b06b886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 15 Dec 2019 19:09:17 +0100 Subject: [PATCH] Added custom TOC for mobile --- web/script_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/script_2.js b/web/script_2.js index a7913a7..e00cb7f 100644 --- a/web/script_2.js +++ b/web/script_2.js @@ -262,7 +262,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine isMobile = true; } -if (isMobile && window.screen.width < 768) { +if (isMobile && window.screen.width < 667) { $(`code:contains(ToC)`).html(TOC_MOBILE); }