aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tooltip
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-30 15:23:07 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-30 17:07:39 +0200
commitc02f59981f4c8aa2c606e22e0325dd34457c8b45 (patch)
treef0074e9fe7fe21f41f869fa6d78afeecbc3f9a6a /demos/tooltip
parent5cbb419f2432979a2075346ec94ea7da97b09fb2 (diff)
downloadjquery-ui-c02f59981f4c8aa2c606e22e0325dd34457c8b45.tar.gz
jquery-ui-c02f59981f4c8aa2c606e22e0325dd34457c8b45.zip
Tooltip: Turn of collision detection on forms demo for mobile rendering
Slighly improves the result by avoiding the tooltip ending up on top of the input.
Diffstat (limited to 'demos/tooltip')
-rw-r--r--demos/tooltip/forms.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/tooltip/forms.html b/demos/tooltip/forms.html
index 5e24d9417..7221d38ab 100644
--- a/demos/tooltip/forms.html
+++ b/demos/tooltip/forms.html
@@ -25,7 +25,8 @@
var tooltips = $( "[title]" ).tooltip({
position: {
my: "left top",
- at: "right+5 top-5"
+ at: "right+5 top-5",
+ collision: "none"
}
});
$( "<button>" )