Browse Source

Added custom TOC for mobile

pull/46/head
Jure Šorn 5 years ago
parent
commit
1a67f50dc6
1 changed files with 1 additions and 1 deletions
  1. 2
      web/script_2.js

2
web/script_2.js

@ -262,7 +262,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine
isMobile = true; isMobile = true;
} }
if (isMobile && window.screen.width < 768) {
if (isMobile && window.screen.width < 667) {
$(`code:contains(ToC)`).html(TOC_MOBILE); $(`code:contains(ToC)`).html(TOC_MOBILE);
} }

Loading…
Cancel
Save