Fixes #102 - Increase the number of moments available to 99 per date
This commit is contained in:
parent
2b9f68780e
commit
0c5f623ce0
@ -110,11 +110,11 @@ $(document).ready(function () {
|
|||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
// After 11 + button is disable
|
// After 11 + button is disable
|
||||||
if (hj < 10) {
|
if (hj < 99) {
|
||||||
last_hour.after(new_hour_html);
|
last_hour.after(new_hour_html);
|
||||||
$('#d' + di + '-h' + (hj + 1)).focus();
|
$('#d' + di + '-h' + (hj + 1)).focus();
|
||||||
$(this).prev('.remove-an-hour').removeClass('disabled');
|
$(this).prev('.remove-an-hour').removeClass('disabled');
|
||||||
if (hj == 9) {
|
if (hj == 98) {
|
||||||
$(this).addClass('disabled');
|
$(this).addClass('disabled');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user