Skip to content

Commit 9e4576b

Browse files
committed
Tooltip: Alphabetized options.
1 parent 74df32f commit 9e4576b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/unit/tooltip/tooltip_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
commonWidgetTests( "tooltip", {
22
defaults: {
3+
content: function() {},
34
disabled: false,
45
items: "[title]",
5-
content: function() {},
66
position: {
77
my: "left+15 center",
88
at: "right center"

ui/jquery.ui.tooltip.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ var increments = 0;
1919
$.widget( "ui.tooltip", {
2020
version: "@VERSION",
2121
options: {
22-
tooltipClass: null,
23-
items: "[title]",
2422
content: function() {
2523
return $( this ).attr( "title" );
2624
},
25+
items: "[title]",
2726
position: {
2827
my: "left+15 center",
2928
at: "right center"
30-
}
29+
},
30+
tooltipClass: null
3131
},
3232

3333
_create: function() {

0 commit comments

Comments
 (0)