mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
#15262: Correct codestyle.
This commit is contained in:
parent
6c2c42444b
commit
03ccd34361
@ -556,8 +556,8 @@ return $.widget( "ui.slider", $.ui.mouse, {
|
|||||||
max = parseFloat( max.toFixed( this._precision() ) );
|
max = parseFloat( max.toFixed( this._precision() ) );
|
||||||
var optionMax = parseFloat( this.options.max.toFixed( this._precision() ) );
|
var optionMax = parseFloat( this.options.max.toFixed( this._precision() ) );
|
||||||
|
|
||||||
if ( this.options.includeMax) {
|
if ( this.options.includeMax ) {
|
||||||
if (max < optionMax ) {
|
if ( max < optionMax ) {
|
||||||
|
|
||||||
// If max is not divisible by step and max from options
|
// If max is not divisible by step and max from options
|
||||||
// should be covered, add one more step.
|
// should be covered, add one more step.
|
||||||
|
Loading…
Reference in New Issue
Block a user