]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Turn of collision detection on forms demo for mobile rendering 1610/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 30 Sep 2015 13:23:07 +0000 (15:23 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 30 Sep 2015 15:07:39 +0000 (17:07 +0200)
Slighly improves the result by avoiding the tooltip ending up on top of
the input.

demos/tooltip/forms.html

index 5e24d941775831a47a24b2d6a3fedd88c9d114fc..7221d38abf3daf90490ab9c4ba9d8f14e97b0c00 100644 (file)
@@ -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>" )