Browse Source

Added custom TOC for mobile

pull/46/head
Jure Šorn 4 years ago
parent
commit
bdc4154930
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;
}
if (isMobile) {
if (isMobile && window.screen.width < 768) {
$(`code:contains(ToC)`).html(TOC_MOBILE);
}

Loading…
Cancel
Save