summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js')
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js7
1 files changed, 5 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 0f25f024f4..925f07bcb1 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
@@ -438,10 +438,13 @@ function kindFilter(kind) {
/* Applies the kind filter. */
function kindFilterSync() {
- if (kindFilterState == "all" || focusFilterState != null)
+ if (kindFilterState == "all" || focusFilterState != null) {
+ $("#tpl a.packhide").text('hide');
$("#tpl ol.templates").show();
- else
+ } else {
+ $("#tpl a.packhide").text('show');
$("#tpl ol.templates").hide();
+ }
}
function resizeFilterBlock() {