Skip to content

Commit ff055a0

Browse files
committed
Datepicker tests: Fixed setting of option.
1 parent 608341d commit ff055a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/datepicker/datepicker_core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ test('customStructure', function() {
146146
dp = $('#ui-datepicker-div'),
147147
// Check right-to-left localisation
148148
inp = TestHelpers.datepicker.init('#inp', $.datepicker.regional.he);
149-
inp.data('showButtonPanel.datepicker',true);
149+
inp.datepicker( 'option', 'showButtonPanel', true);
150150
inp.focus();
151151
ok(dp.is('.ui-datepicker-rtl'), 'Structure RTL - right-to-left');
152152
header = dp.children(':first');

0 commit comments

Comments
 (0)