diff --git a/main.js b/main.js index 7056f55..0a52df7 100644 --- a/main.js +++ b/main.js @@ -767,9 +767,9 @@ function showoutline() return i > index && current != ""; })) { - var nbcar = 40; + var nbcar = 80; next = next.length < nbcar ? next : next.substring(0, nbcar) + "..."; - outline["section line " + index + ": " + next] = pos; + outline[next] = pos; } } });