summaryrefslogtreecommitdiff
path: root/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-02-17 15:46:16 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-02-17 15:59:41 +0100
commit42ae3885c401656196fd8994d92e853b56e3fe98 (patch)
tree571e35643fde779cdb87686ed1106a50026e0ee6 /src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js
parent4e39a79e726eb2a499dd4948ef03e14b73f2e4e3 (diff)
downloadscala-42ae3885c401656196fd8994d92e853b56e3fe98.tar.gz
scala-42ae3885c401656196fd8994d92e853b56e3fe98.tar.bz2
scala-42ae3885c401656196fd8994d92e853b56e3fe98.zip
Replace UTF8 glyphs with the Material Typeface
This commit removes arrows and other symbols previously provided by UTF8-symbols. Instead it uses the Material Typeface that we've used for the search icon and graph symbols. review: @VladUreche, @lrytz
Diffstat (limited to 'src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js')
-rw-r--r--src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js
index 50804c029f..b0719b1ed5 100644
--- a/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js
+++ b/src/scaladoc/scala/tools/nsc/doc/html/resource/lib/template.js
@@ -92,7 +92,8 @@ $(document).ready(function() {
return isHidden(this);
}).removeClass("in").addClass("out");
- $("#mbrsel > div.toggle").click(function() {
+ $("#memberfilter > i.arrow").click(function() {
+ $(this).toggleClass("rotate");
$("#filterby").toggle();
});
@@ -311,7 +312,9 @@ $(document).ready(function() {
});
$("#mbrsel-input").on("blur", function() {
- $("#memberfilter > .clear").hide();
+ setTimeout(function() {
+ $("#memberfilter > .clear").hide();
+ }, 10);
});
});