Browse Source

ToC

pull/61/head
Jure Šorn 4 years ago
parent
commit
a7cbb3dfe0
1 changed files with 1 additions and 1 deletions
  1. 2
      web/script_2.js

2
web/script_2.js

@ -57,7 +57,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine
var TOC_SCREEN_WIDTH_CUTOFF = 667 var TOC_SCREEN_WIDTH_CUTOFF = 667
if (isMobile && window.screen.width < TOC_SCREEN_WIDTH_CUTOFF) { if (isMobile && window.screen.width < TOC_SCREEN_WIDTH_CUTOFF) {
$(`code:contains(ToC)`).html(TOC_MOBILE).css("line-height", "2em");
$(`code:contains(ToC)`).html(TOC_MOBILE).css("line-height", "1.8em");
} }
function updateToc() { function updateToc() {

Loading…
Cancel
Save