Skip to content

Commit d305f06

Browse files
committed
Spinner: Update classes option to use empty string instead of null
1 parent bb15b7d commit d305f06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/unit/spinner/spinner_common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
TestHelpers.commonWidgetTests( "spinner", {
22
defaults: {
33
classes: {
4-
"ui-spinner-input": null,
4+
"ui-spinner-input": "",
55
"ui-spinner": "ui-corner-all",
6-
"ui-spinner-button": null,
6+
"ui-spinner-button": "",
77
"ui-spinner-up": "ui-corner-tr",
88
"ui-spinner-down": "ui-corner-br"
99
},

ui/spinner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ return $.widget( "ui.spinner", {
4242
widgetEventPrefix: "spin",
4343
options: {
4444
classes: {
45-
"ui-spinner-input": null,
45+
"ui-spinner-input": "",
4646
"ui-spinner": "ui-corner-all",
47-
"ui-spinner-button": null,
47+
"ui-spinner-button": "",
4848
"ui-spinner-up": "ui-corner-tr",
4949
"ui-spinner-down": "ui-corner-br"
5050
},

0 commit comments

Comments
 (0)