sliderAccess tweak
This commit is contained in:
parent
9963f68ad5
commit
dc15bf6bc5
2
jquery-ui-timepicker-addon.js
vendored
2
jquery-ui-timepicker-addon.js
vendored
|
@ -639,6 +639,7 @@ $.extend(Timepicker.prototype, {
|
|||
if (this._defaults.addSliderAccess){
|
||||
var sliderAccessArgs = this._defaults.sliderAccessArgs;
|
||||
setTimeout(function(){ // fix for inline mode
|
||||
if($tp.find('.ui-slider-access').length == 0){
|
||||
$tp.find('.ui-slider:visible').sliderAccess(sliderAccessArgs);
|
||||
|
||||
// fix any grids since sliders are shorter
|
||||
|
@ -654,6 +655,7 @@ $.extend(Timepicker.prototype, {
|
|||
$g.css({ width: newWidth, marginLeft: newMarginLeft });
|
||||
});
|
||||
}
|
||||
}
|
||||
},0);
|
||||
}
|
||||
// end slideAccess integration
|
||||
|
|
Loading…
Reference in a new issue