Skip to content

Commit 75efe38

Browse files
committed
Tooltip: Update classes option to use empty string instead of null
1 parent d464f1c commit 75efe38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/tooltip/tooltip_common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TestHelpers.commonWidgetTests( "tooltip", {
22
defaults: {
33
classes: {
44
"ui-tooltip": "ui-corner-all",
5-
"ui-tooltip-content": null
5+
"ui-tooltip-content": ""
66
},
77
content: function() {},
88
disabled: false,

ui/tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $.widget( "ui.tooltip", {
3030
options: {
3131
classes: {
3232
"ui-tooltip": "ui-corner-all",
33-
"ui-tooltip-content": null
33+
"ui-tooltip-content": ""
3434
},
3535
content: function() {
3636
// support: IE<9, Opera in jQuery <1.7

0 commit comments

Comments
 (0)