Skip to content

Commit 8fe6ab2

Browse files
Fix jshint warning about comparison operator trentrichardson#859
1 parent db9e0cd commit 8fe6ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery-ui-timepicker-addon.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@
17411741
if (tp_inst.$altInput && tp_inst._defaults.altFieldTimeOnly) {
17421742
currDT = tp_inst.$input.val() + ' ' + tp_inst.$altInput.val();
17431743
}
1744-
else if (tp_inst.$input.get(0).tagName != 'INPUT' && tp_inst.$altInput) {
1744+
else if (tp_inst.$input.get(0).tagName !== 'INPUT' && tp_inst.$altInput) {
17451745
/**
17461746
* in case the datetimepicker has been applied to a non-input tag for inline UI,
17471747
* and the user has not configured the plugin to display only time in altInput,

0 commit comments

Comments
 (0)