diff options
author | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2011-07-20 14:32:12 +0000 |
---|---|---|
committer | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2011-07-20 14:32:12 +0000 |
commit | 00da8a8f07b9ba21ee93a007dbf7c2961c355fd6 (patch) | |
tree | 0e161f9a89af0411208d35c1004243d930ccc552 /src | |
parent | 3e9041b0313cae18973b7333b64fb53e4bb4a5c6 (diff) | |
download | scala-00da8a8f07b9ba21ee93a007dbf7c2961c355fd6.tar.gz scala-00da8a8f07b9ba21ee93a007dbf7c2961c355fd6.tar.bz2 scala-00da8a8f07b9ba21ee93a007dbf7c2961c355fd6.zip |
Fixes SI-4641 again.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js b/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js index 925f07bcb1..e9ed7181e4 100644 --- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js +++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js @@ -452,6 +452,17 @@ function resizeFilterBlock() { } function printAlphabet() { - $("#filter").append("<div id='letters'><a target='template' href='index/index-%23.html'>#</a><a target='template' href='index/index-a.html'>A</a><a target='template' href='index/index-b.html'>B</a><a target='template' href='index/index-c.html'>C</a><a target='template' href='index/index-d.html'>D</a><a target='template' href='index/index-e.html'>E</a><a target='template' href='index/index-f.html'>F</a><a target='template' href='index/index-g.html'>G</a><a target='template' href='index/index-h.html'>H</a><a target='template' href='index/index-i.html'>I</a><a target='template' href='index/index-j.html'>J</a><a target='template' href='index/index-k.html'>K</a><a target='template' href='index/index-l.html'>L</a><a target='template' href='index/index-m.html'>M</a><a target='template' href='index/index-n.html'>N</a><a target='template' href='index/index-o.html'>O</a><a target='template' href='index/index-p.html'>P</a><a target='template' href='index/index-q.html'>Q</a><a target='template' href='index/index-r.html'>R</a><a target='template' href='index/index-s.html'>S</a><a target='template' href='index/index-t.html'>T</a><a target='template' href='index/index-u.html'>U</a><a target='template' href='index/index-v.html'>V</a><a target='template' href='index/index-w.html'>W</a><a target='template' href='index/index-x.html'>X</a><a target='template' href='index/index-y.html'>Y</a><a target='template' href='index/index-z.html'>Z</a></div>"); + var html = '<a target="template" href="index/index-_.html">#</a>'; + var c; + for (c = 'a'; c < 'z'; c = String.fromCharCode(c.charCodeAt(0) + 1)) { + html += [ + '<a target="template" href="index/index-', + c, + '.html">', + c.toUpperCase(), + '</a>' + ].join(''); + } + $("#filter").append('<div id="letters">' + html + '</div>'); } |