Fixes #102 - Increase the number of moments available to 99 per date

This commit is contained in:
Olivier PEREZ 2015-12-06 03:21:04 +01:00
parent 2b9f68780e
commit 0c5f623ce0

View File

@ -110,11 +110,11 @@ $(document).ready(function () {
'</div>';
// After 11 + button is disable
if (hj < 10) {
if (hj < 99) {
last_hour.after(new_hour_html);
$('#d' + di + '-h' + (hj + 1)).focus();
$(this).prev('.remove-an-hour').removeClass('disabled');
if (hj == 9) {
if (hj == 98) {
$(this).addClass('disabled');
}
}