diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-10-25 13:41:39 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-10-25 13:41:39 +0000 |
commit | 3845835cf045a6f1727f032bdb6aea5d449d468b (patch) | |
tree | d73f3cfc779179c0497e828bb460b710731c9a7f | |
parent | e3a2fecae5fbc924e1ececc811f2e65f5aa21dae (diff) | |
download | scala-3845835cf045a6f1727f032bdb6aea5d449d468b.tar.gz scala-3845835cf045a6f1727f032bdb6aea5d449d468b.tar.bz2 scala-3845835cf045a6f1727f032bdb6aea5d449d468b.zip |
[scaladoc] Fixed class filter (event handler wa...
[scaladoc] Fixed class filter (event handler was attached to wrong
element). No review.
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | 4 |
1 files changed, 2 insertions, 2 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 db4dac9ece..21c09bf5e1 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 @@ -103,7 +103,7 @@ function prepareEntityList() { function configureTextFilter() { scheduler.add("init", function() { $("#filter").append("<div id='textfilter'><span class='pre'/><span class='input'><input type='text' accesskey='/'/></span><span class='post'/></div>"); - var input = $("#textfilter > input"); + var input = $("#textfilter input"); resizeFilterBlock(); input.bind("keyup", function(event) { if (event.keyCode == 27) { // escape @@ -115,7 +115,7 @@ function configureTextFilter() { }); scheduler.add("init", function() { $("#textfilter > .post").click(function(){ - $("#textfilter > input").attr("value", ""); + $("#textfilter input").attr("value", ""); textFilter(); }); }); |