fixed stack overflow caused by .change()

This commit is contained in:
t1m0n 2016-03-29 15:55:34 +03:00
parent 02ec0118a6
commit bc6960aad4
6 changed files with 13 additions and 11 deletions

View File

@ -519,7 +519,6 @@
border-radius: 3px;
border: 1px solid #dedede;
background: #fff;
margin-top: -6px;
cursor: pointer;
transition: background .2s; }
.datepicker--time-row input[type='range']::-moz-range-thumb {
@ -529,7 +528,6 @@
border-radius: 3px;
border: 1px solid #dedede;
background: #fff;
margin-top: -6px;
cursor: pointer;
transition: background .2s; }
.datepicker--time-row input[type='range']::-ms-thumb {
@ -539,9 +537,10 @@
border-radius: 3px;
border: 1px solid #dedede;
background: #fff;
margin-top: -6px;
cursor: pointer;
transition: background .2s; }
.datepicker--time-row input[type='range']::-webkit-slider-thumb {
margin-top: -6px; }
.datepicker--time-row input[type='range']::-webkit-slider-runnable-track {
border: none;
height: 1px;

File diff suppressed because one or more lines are too long

View File

@ -1965,13 +1965,13 @@ var Datepicker;
min: this.minHours,
max: this.maxHours,
value: this.hours
}).change();
});
this.$minutes.attr({
min: this.minMinutes,
max: this.maxMinutes,
value: this.minutes
}).change();
});
},
/**

File diff suppressed because one or more lines are too long

View File

@ -133,13 +133,13 @@
min: this.minHours,
max: this.maxHours,
value: this.hours
}).change();
});
this.$minutes.attr({
min: this.minMinutes,
max: this.maxMinutes,
value: this.minutes
}).change();
});
},
/**

View File

@ -44,7 +44,6 @@ $rangeThumbBg: #dedede;
border-radius: 3px;
border: 1px solid $rangeTrackBg;
background: #fff;
margin-top: -$rangeThumbSize/2;
cursor: pointer;
transition: background .2s;
@ -186,6 +185,10 @@ $rangeThumbBg: #dedede;
@include thumb;
}
&::-webkit-slider-thumb {
margin-top: -$rangeThumbSize/2;
}
// Track
// -------------------------------------------------
@include trackSelector() {