summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js
index efa4288a67..8493428fcd 100644
--- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js
+++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/template.js
@@ -98,13 +98,15 @@ $(document).ready(function(){
$(".extype").tooltip({
tip: "#tooltip",
position:"top center",
+ predelay: 500,
onBeforeShow: function(ev) {
$(this.getTip()).text(this.getTrigger().attr("name"));
}
});
$(".defval").tooltip({
tip: "#tooltip",
- position:"top center",
+ position:"top center",
+ predelay: 500,
onBeforeShow: function(ev) {
$(this.getTip()).html(this.getTrigger().attr("name"))
}