diff --git a/web/script_2.js b/web/script_2.js index 8f0d6ee..a7913a7 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) { +if (isMobile && window.screen.width < 768) { $(`code:contains(ToC)`).html(TOC_MOBILE); }