Skip to content

Commit b872d74

Browse files
Fix trentrichardson#607 jquery noConflict issue
1 parent a0ad2ea commit b872d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229

230230
// controlType is string - key to our this._controls
231231
if(typeof(tp_inst._defaults.controlType) === 'string'){
232-
if(tp_inst._defaults.controlType == 'slider' && typeof(jQuery.ui.slider) === 'undefined'){
232+
if(tp_inst._defaults.controlType == 'slider' && typeof($.ui.slider) === 'undefined'){
233233
tp_inst._defaults.controlType = 'select';
234234
}
235235
tp_inst.control = tp_inst._controls[tp_inst._defaults.controlType];

0 commit comments

Comments
 (0)